Enlightenment CVS committal

Author  : tilman
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl


Modified Files:
        configure.in 


Log Message:
pkgconfig madness

===================================================================
RCS file: /cvs/e/e17/libs/ewl/configure.in,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -3 -r1.100 -r1.101
--- configure.in        5 Mar 2007 23:13:35 -0000       1.100
+++ configure.in        21 Mar 2007 18:26:50 -0000      1.101
@@ -56,42 +56,14 @@
 
 PCFLAGS=$CFLAGS
 
-AC_PATH_GENERIC(evas, 0.9.9,
-  [ ],
-  [
-AC_MSG_ERROR([
-ERROR:
-The evas-config development script was not found in your execute
-path. This may mean one of several things
-1. You may not have installed the evas-devel (or evas-dev) packages.
-2. You may have evas installed somewhere not covered by your path.
-
-If this is the case make sure you have the packages installed, AND
-that the evas-config script is in your execute path (see your
-shell's manual page on setting the \$PATH environment variable), OR
-alternatively, specify the script to use with --with-evas-config.
-])
-  ]
-)
+PKG_CHECK_MODULES(EVAS, [evas >= 0.9.9])
 CFLAGS=$EVAS_CFLAGS" "$CFLAGS
 
-AC_PATH_GENERIC(ecore, 0.9.9,
-  [ ],
-  [
-AC_MSG_ERROR([
-ERROR:
-The ecore-config development script was not found in your execute
-path. This may mean one of several things
-1. You may not have installed the ecore-devel (or ecore-dev) packages.
-2. You may have ecore installed somewhere not covered by your path.
-
-If this is the case make sure you have the packages installed, AND
-that the ecore-config script is in your execute path (see your
-shell's manual page on setting the \$PATH environment variable), OR
-alternatively, specify the script to use with --with-ecore-config.
+PKG_CHECK_MODULES(ECORE, [
+  ecore-desktop
+  ecore-txt
+  ecore-file
 ])
-  ]
-)
 CFLAGS=$ECORE_CFLAGS" "$CFLAGS
 
 AC_ARG_ENABLE(software-x11,
@@ -193,28 +165,12 @@
 fi
 AM_CONDITIONAL(EWL_ENABLE_EVAS_BUFFER, test "x$have_buffer" = xyes)
 
-AC_PATH_GENERIC(edje, 0.5.0,
-  [ ],
-  [
-AC_MSG_ERROR([
-ERROR:
-The edje-config development script was not found in your execute
-path. This may mean one of several things
-1. You may not have installed the edje-devel (or edje-dev) packages.
-2. You may have edje installed somewhere not covered by your path.
-
-If this is the case make sure you have the packages installed, AND
-that the edje-config script is in your execute path (see your
-shell's manual page on setting the \$PATH environment variable), OR
-alternatively, specify the script to use with --with-edje-config.
-])
-  ]
-)
+PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0])
+CFLAGS=$EDJE_CFLAGS" "$CFLAGS
 
 requirements="evas ecore edje"
 
-CFLAGS=$EDJE_CFLAGS" "$CFLAGS
-AC_PATH_GENERIC(emotion, 0.0.1,
+PKG_CHECK_MODULES(EMOTION, [emotion >= 0.0.1],
   [ 
     have_emotion="yes"
     ewl_media_include="#include <ewl_media.h>"
@@ -228,7 +184,7 @@
 
 CFLAGS=$EMOTION_CFLAGS" "$CFLAGS
 
-AC_PATH_GENERIC(epsilon, 0.3.0,
+PKG_CHECK_MODULES(EPSILON, [epsilon >= 0.3.0],
   [ 
     have_epsilon="yes"
     requirements="$requirements epsilon"



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to