Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : apps/elicit

Dir     : e17/apps/elicit


Modified Files:
        configure.in 


Log Message:

make edb optional (if you have it it will load old swatches / shots from db's)

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/elicit/configure.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- configure.in        25 Oct 2005 05:08:05 -0000      1.10
+++ configure.in        30 Dec 2005 04:12:51 -0000      1.11
@@ -103,14 +103,27 @@
 PROG="edb-config";
 AC_PATH_PROG(EDB_CONFIG, $PROG, "", $PATH)
 if test -z "$EDB_CONFIG" ; then
+  edb_cflags=""
+  edb_libs=""
+else
+  AC_DEFINE(HAVE_EDB, 1, [Have edb])
+  edb_cflags=`$EDB_CONFIG --cflags`
+  edb_libs=`$EDB_CONFIG --libs`
+fi
+AC_SUBST(edb_cflags)
+AC_SUBST(edb_libs)
+
+PROG="eet-config";
+AC_PATH_PROG(EET_CONFIG, $PROG, "", $PATH)
+if test -z "$EET_CONFIG" ; then
   echo $PROG " is not in your \$PATH. Please ensure it is.";
   echo "Read the manual page for you shell as to how to extend your path.";
   AC_MSG_ERROR(Cannot find $PROG)
 fi
-edb_cflags=`$EDB_CONFIG --cflags`
-edb_libs=`$EDB_CONFIG --libs`
-AC_SUBST(edb_cflags)
-AC_SUBST(edb_libs)
+eet_cflags=`$EET_CONFIG --cflags`
+eet_libs=`$EET_CONFIG --libs`
+AC_SUBST(eet_cflags)
+AC_SUBST(eet_libs)
 
 PROG="ecore-config";
 AC_PATH_PROG(ECORE_CONFIG, $PROG, "", $PATH)




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to