On Tue, 25 Feb 2003, Tom Payne said:

On Tue, Feb 25, 2003 at 08:19:35AM +0200, Tuomo Valkonen wrote:
> > I have changed the Makefiles to include system-inc.mk that checks
> > for acsystem.mk and uses it if it exists and system.mk
> > otherwise. Could you rename the file to system-ac.mk, though?
>  
>  OK -- updated (and fractionally improved) files attached. Same
>  procedure as before.
>  
>  Still to do (IMHO):
>  
>  Set ETCDIR and DOCDIR properly (which autoconf vars are these
>  equivalent to?)
>  
>  --enable-xinerama and --enable-module should default to yes (not sure
>  how to do this)

It is quite trivial indeed :)

Here is how you can do (here only for xinerama):

,----
| AC_ARG_ENABLE(xinerama,
|   [  --enable-xinerama            Xinerama support (default enabled)])
| if test "x${enable_xinerama}" != "xno"
| then
|   AC_CHECK_HEADERS(X11/extensions/Xinerama.h, [
|    CFLAGS="$save_CFLAGS -L$x_libraries -lX11 -lXext"
|    AC_CHECK_LIB(Xinerama,XineramaIsActive,
|      LDFLAGS="${_LDFLAGS} -L$x_libraries -lXinerama"
|     AC_DEFINE(HAVE_XINERAMA, 1, Xinerama support))
|  ],[])
| fi
`----
  

[...]

  
>  Proper Xft support? (i.e. allow user to override CFLAGS and LIBS and
>  path to xft-config)

quite simple too :)

>  Proper Debug support (don't strip binaries).

Trying to add to autoconf the --enable-debug or something similar and
then you define a variable (ie :ION_DEBUG) and you make proper use of
it into Ion source code.

>  Checks for minor programs.

?
  
>  Regards,

Cheers,

zeDek
-- 
Heh.  How about this one: "make UNIX usable for normal people".  Nobody
has done that before.                                             Linus

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to