Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : proto

Dir     : e17/proto/esmart


Modified Files:
        configure.in esmart-config.in 


Log Message:
Updating esmart to use epsilon


===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/configure.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- configure.in        9 Nov 2003 23:17:47 -0000       1.5
+++ configure.in        10 Dec 2003 04:56:58 -0000      1.6
@@ -72,6 +72,20 @@
 AC_SUBST(imlib_libs)
 AC_SUBST(imlib_cflags)
 
+AC_ARG_WITH(epsilon,
+        [  --with-epsilon=DIR          use epsilon in <DIR>],
+        [CFLAGS="$CFLAGS -I$withval/include"
+         LIBS="-L$withval/lib $LIBS"])
+
+AC_PATH_GENERIC(epsilon,, [
+    AC_SUBST(epsilon_libs)
+    AC_SUBST(epsilon_cflags)],
+    AC_MSG_ERROR(Cannot find epsilon: Is epsilon-config in path?))
+epsilon_libs=`epsilon-config --libs`
+epsilon_cflags=`epsilon-config --cflags`
+AC_SUBST(epsilon_libs)
+AC_SUBST(epsilon_cflags)
+
 AC_PATH_PROG(PERL, perl, 0)
 AC_SUBST(PERL)
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/esmart-config.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- esmart-config.in    16 Sep 2003 02:18:58 -0000      1.2
+++ esmart-config.in    10 Dec 2003 04:56:59 -0000      1.3
@@ -42,11 +42,11 @@
       if test @includedir@ != /usr/include ; then
         [EMAIL PROTECTED]@
       fi
-      echo $includes @imlib_cflags@ @evas_cflags@ -I$prefix/include
+      echo $includes @imlib_cflags@ @evas_cflags@ @epsilon_cflags@ -I$prefix/include
       ;;
     --libs)
       [EMAIL PROTECTED]@
-      echo $libdirs -lesmart @imlib_libs@ @evas_libs@ -lm
+      echo $libdirs -lesmart @imlib_libs@ @evas_libs@ @epsilon_libs@ -lm
       ;;
     *)
       echo "${usage}" 1>&2




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to