|
Roadmap |
Site sponsored by
IGEL
|
||
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [directfb-users] Re: MODULEDIR
Hi,
Kent Sandvik <sandvik@mac.com> writes:
> > You could add --with-moduledir=DIR to the configure script and allow
> > to override the default MODULEDIR with this setting. You will have to
> > edit configure.in for this. Let me know if you need any help.
>
> Hi, here's a possible patch (against 0.9.20), let me know if something
> like this would work or not. --Kent
May I ask why you use SYSROOT instead of the suggested MODULEDIR?
There is already a way to specify DATADIR. This is a standard
configure option and I don't think it makes sense to deviate from the
established standards for software based on autoconf/automake here.
> +++ DirectFB-0.9.20/src/core/fbdev/Makefile.am 2004-07-17
> 10:30:52.000000000 -0700
> @@ -6,9 +6,9 @@
> -I$(top_srcdir)/src
>
> AM_CPPFLAGS = \
> - -DDATADIR=\"@DATADIR@\" \
> + -DDATADIR=\"${RUNTIME_SYSROOT}@DATADIR@\" \
> -DSOPATH=\"@SOPATH@\" \
> - -DMODULEDIR=\"@MODULEDIR@\" \
> + -DMODULEDIR=\"${RUNTIME_SYSROOT}@MODULEDIR@\" \
> "-DBUILDTIME=\"`date -u "+%Y-%m-%d %H:%M"`\""
If you simply added --with-moduledir=DIR to configure.in you wouldn't
have to touch any Makefile.am.
Sven
|
|
| directfb.org |
|
Development |
|
Old Archives |