Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e


Modified Files:
      Tag: branch-exp
        configure.in 


Log Message:
Experimental support for configuration using edb.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/configure.in,v
retrieving revision 1.99
retrieving revision 1.99.2.1
diff -u -3 -r1.99 -r1.99.2.1
--- configure.in        25 Jul 2004 10:52:20 -0000      1.99
+++ configure.in        26 Jul 2004 23:07:58 -0000      1.99.2.1
@@ -81,8 +81,18 @@
 AC_ARG_ENABLE(hints-gnome,
   [  --enable-hints-gnome    compile with GNOME(<2.0) hints support [default=no]],, 
enable_hints_gnome=no)
 
-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
+AC_ARG_ENABLE(config-edb,
+  [  --enable-config-edb     use edb for configuration [default=no]],
+  AC_DEFINE(ENABLE_EDB, 1, [Use edb for configuration]),
+  enable_config_edb=no
+)
+
+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
 AM_CONDITIONAL(ENABLE_EWMH, test "x$enable_hints_ewmh" = "xyes")
 AM_CONDITIONAL(ENABLE_GNOME, test "x$enable_hints_gnome" = "xyes")
 
@@ -158,6 +168,18 @@
 echo "zoom has been turned off by request at compiletime"
 fi
 
+AC_CHECK_HEADER(Edb.h,
+[
+# have_edb="yes"
+  edb_cflags=`edb-config --cflags`
+  edb_libs=`edb-config --libs`
+],
+[
+  AC_MSG_ERROR([Aarrgh ... no edb])
+]) 
+AC_SUBST(edb_cflags)
+AC_SUBST(edb_libs)
+
 AC_ARG_ENABLE(xrandr,
   [  --enable-xrandr         compile with RandR support [default=no]], 
,enable_xrandr=no)
 if test "x$enable_xrandr" = "xyes"; then




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to