Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance


Modified Files:
        configure.in 


Log Message:
Use AC_PATH_GENERIC

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/configure.in,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -3 -r1.43 -r1.44
--- configure.in        16 Aug 2005 04:04:04 -0000      1.43
+++ configure.in        5 Sep 2005 16:55:50 -0000       1.44
@@ -41,74 +41,25 @@
 fi
 changequote([,])dnl
 
-AC_ARG_WITH(evas,
-       [ --with-evas=DIR               use evas in <DIR>],
-       [ CFLAGS="$CFLAGS -I$withval/include"
-       LIBS="-L$withval/lib $LIBS"])
-AC_ARG_WITH(ecore,
-       [ --with-ecore=DIR              use ecore in <DIR>],
-       [ CFLAGS="$CFLAGS -I$withval/include"
-       LIBS="-L$withval/lib $LIBS"])
-AC_ARG_WITH(edje,
-       [ --with-edje=DIR               use edje in <DIR>],
-       [ CFLAGS="$CFLAGS -I$withval/include"
-       LIBS="-L$withval/lib $LIBS"])
-
-AC_ARG_WITH(evas-config,
-[  --with-evas-config=EVAS_CONFIG    use evas-config specified ],
-[
-  EVAS_CONFIG=$withval;
-  echo "using "$EVAS_CONFIG" for evas-config";
-],[
-  PROG="evas-config";
-  AC_PATH_PROG(EVAS_CONFIG, $PROG, "", $PATH)
-])
-evas_cflags=`$EVAS_CONFIG --cflags`
-evas_libs=`$EVAS_CONFIG --libs`
-AC_SUBST(evas_cflags)
-AC_SUBST(evas_libs)
+AC_PATH_GENERIC(evas, 0.9.9,
+  [ ],
+  [ AC_MSG_ERROR(Evas isn't installed) ]
+)
 
-AC_ARG_WITH(ecore-config,
-[  --with-ecore-config=ECORE_CONFIG  use ecore-config specified ],
-[
-  ECORE_CONFIG=$withval;
-  echo "using "$ECORE_CONFIG" for ecore-config";
-],[
-  PROG="ecore-config";
-  AC_PATH_PROG(ECORE_CONFIG, $PROG, "", $PATH)
-])
-ecore_cflags=`$ECORE_CONFIG --cflags`
-ecore_libs=`$ECORE_CONFIG --libs`
-AC_SUBST(ecore_cflags)
-AC_SUBST(ecore_libs)
+AC_PATH_GENERIC(ecore, 0.9.9,
+  [ ],
+  [ AC_MSG_ERROR(Ecore isn't installed) ]
+)
 
-AC_ARG_WITH(edje-config,
-[  --with-edje-config=EDJE_CONFIG    use edje-config specified ],
-[
-  EDJE_CONFIG=$withval;
-  echo "using "$EDJE_CONFIG" for edje-config";
-],[
-  PROG="edje-config";
-  AC_PATH_PROG(EDJE_CONFIG, $PROG, "", $PATH)
-])
-edje_cflags=`$EDJE_CONFIG --cflags`
-edje_libs=`$EDJE_CONFIG --libs`
-AC_SUBST(edje_cflags)
-AC_SUBST(edje_libs)
+AC_PATH_GENERIC(edje, 0.5.0,
+  [ ],
+  [ AC_MSG_ERROR(Edje isn't installed) ]
+)
 
-AC_ARG_WITH(esmart-config,
-[  --with-esmart-config=ESMART_CONFIG    use esmart-config specified ],
-[
-  ESMART_CONFIG=$withval;
-  echo "using "$ESMART_CONFIG" for esmart-config";
-],[
-  PROG="esmart-config";
-  AC_PATH_PROG(ESMART_CONFIG, $PROG, "", $PATH)
-])
-esmart_cflags=`$ESMART_CONFIG --cflags`
-esmart_libs=`$ESMART_CONFIG --libs`
-AC_SUBST(esmart_cflags)
-AC_SUBST(esmart_libs)
+AC_PATH_GENERIC(esmart, 0.9.0,
+  [ ],
+  [ AC_MSG_ERROR(Esmart isn't installed) ]
+)
 
 have_clearenv=no
 AC_CHECK_LIB(c, clearenv, [




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to