Enlightenment CVS committal

Author  : onefang
Project : e_modules
Module  : moon

Dir     : e_modules/moon


Modified Files:
        configure.ac 


Log Message:
All the cool kids are doing it, er I mean make way for removing the m4 
directory, just like all the other modules.

===================================================================
RCS file: /cvs/e/e_modules/moon/configure.ac,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- configure.ac        25 Apr 2007 09:22:07 -0000      1.10
+++ configure.ac        29 May 2007 12:21:09 -0000      1.11
@@ -67,14 +67,21 @@
 ])
 AC_SUBST(edje_cc)
 
-AC_PATH_GENERIC(enlightenment, 0.16.999, [
-       AC_SUBST(e_libs)
-       AC_SUBST(e_cflags) ],
-       AC_MSG_ERROR(Cannot find enlightenment: Is enlightenment-config in 
path?))
-e_libs=`enlightenment-config --libs`
-e_cflags=`enlightenment-config --cflags`
-AC_SUBST(e_libs)
+AC_ARG_WITH(enlightenment-config,
+[  --with-enlightenment-config=E_CONFIG    use enlightenment-config specified 
],
+[
+  E_CONFIG=$withval;
+  echo "using "$E_CONFIG" for enlightenment-config";
+],[
+  PROG="enlightenment-config";
+  AC_PATH_PROG(E_CONFIG, $PROG, "", $PATH)
+])
+e_cflags=`$E_CONFIG --cflags`
+e_libs=`$E_CONFIG --libs`
+e_modules=`$E_CONFIG --module-dir`
 AC_SUBST(e_cflags)
+AC_SUBST(e_libs)
+AC_SUBST(e_modules)
 
 MODULE_ARCH="$host_os-$host_cpu"
 AC_SUBST(MODULE_ARCH)



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to