Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e


Modified Files:
        configure.in 


Log Message:
Added possibility to configure not to use fnlib (configure --without-fnlib).
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/configure.in,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -3 -r1.61 -r1.62
--- configure.in        12 Jul 2003 09:41:43 -0000      1.61
+++ configure.in        12 Jul 2003 14:34:13 -0000      1.62
@@ -77,6 +77,8 @@
   [  --enable-hints-gnome    compile with GNOME(<2.0) hints support [default=yes]],, 
enable_hints_gnome=yes)
 AC_ARG_ENABLE(hints-kde,
   [  --enable-hints-kde      compile with KDE(<2.0) hints support [default=no]],, 
enable_hints_kde=no)
+AC_ARG_WITH(fnlib,
+  [  --with-fnlib            compile with Fnlib support [default=yes]],, 
with_fnlib=yes)
 
 if test "x$enable_hints_ewmh" = "xyes"; then AC_DEFINE(ENABLE_EWMH, 1, [Extended 
Window Manager Hints]) fi
 if test "x$enable_hints_gnome" = "xyes"; then AC_DEFINE(ENABLE_GNOME, 1, [GNOME(<2.0) 
Hints]) fi
@@ -131,6 +133,7 @@
 LDFLAGS="$LDFLAGS `echo $IMLIB_LIBS | sed 's/.*-lImlib.*\(-L[[^ ]]*\).*$/\1/'`"
 XTST_LIBS=""
 
+if test "x$with_fnlib" = "xyes"; then
 # AC_CHECK_HEADER(Fnlib.h, ,AC_MSG_ERROR([Fatal Error: no Fnlib header detected.]))
 AC_CHECK_LIB(Fnlib, Fnlib_init, FNLIB_LIBS=-lFnlib , [
 echo "ERROR: Enlightenment needs a system with libFnlib.so (Fnlib)"
@@ -140,6 +143,8 @@
 echo "ftp://ftp.labs.redhat.com/pub/fnlib/";
 AC_MSG_ERROR([Fatal Error: no Fnlib detected.])], $IMLIB_LIBS)
 AC_SUBST(FNLIB_LIBS)
+AC_DEFINE(USE_FNLIB, 1, [Fnlib support])
+fi
 
 if test "x$enable_upgrade" = "xyes"; then
 AC_CHECK_LIB(ghttp, ghttp_uri_validate, [AC_DEFINE(AUTOUPGRADE, 1, [Automatic 
upgrading]) 




-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to