Enlightenment CVS committal

Author  : onefang
Project : e_modules
Module  : news

Dir     : e_modules/news


Modified Files:
        configure.in 


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/news/configure.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- configure.in        23 May 2007 23:37:15 -0000      1.2
+++ configure.in        29 May 2007 12:35:06 -0000      1.3
@@ -89,7 +89,21 @@
 #
 # Check Enlightenment
 #
-AC_PATH_GENERIC([enlightenment], [0.16.999.037], [], 
[AC_MSG_ERROR(Enlightenment is not installed)],)
+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)
 
 AC_OUTPUT([
 e_modules-news.spec



-------------------------------------------------------------------------
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