Enlightenment CVS committal

Author  : tilman
Project : e17
Module  : apps/estickies

Dir     : e17/apps/estickies


Modified Files:
        configure.in 


Log Message:
made estickie's autotools setup about 123% saner

===================================================================
RCS file: /cvs/e/e17/apps/estickies/configure.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- configure.in        9 Aug 2006 00:26:47 -0000       1.5
+++ configure.in        22 Mar 2007 14:10:18 -0000      1.6
@@ -85,55 +85,10 @@
 packagesrcdir=`cd $srcdir && pwd`
 AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [Source Code 
Directory])
 
-#check for ETK
-AC_PATH_EFL(
-   etk,
-   0.1.0.001,
-   [
-     AC_DEFINE(HAVE_ETK, 1, have ETK)
-     etk="ETK "
-     AM_CONDITIONAL(HAVE_ETK, true)
-     have_etk="yes"
-     etk_libs=`etk-config --libs`
-     etk_cflags=`etk-config --cflags`     
-   ],
-   [
-     AC_MSG_ERROR([No Etk, can't build.])
-   ]
-)
-
-#check for EET
-AC_PATH_EFL(
-   eet,
-   0.9.10.027,
-   [
-     AC_DEFINE(HAVE_EET, 1, have EET)
-     etk="EET "
-     AM_CONDITIONAL(HAVE_EET, true)
-     have_eet="yes"
-     eet_libs=`eet-config --libs`
-     eet_cflags=`eet-config --cflags`     
-   ],
-   [
-     AC_MSG_ERROR([No Eet, can't build.])
-   ]
-)
-
-dnl Set ETK_PACKAGE_DATA_DIR in config.h.  
-etk_prefix="\"`etk-config --prefix`/share/etk\""
-AC_DEFINE_UNQUOTED(ETK_PACKAGE_DATA_DIR, $etk_prefix, [Data dir for etk lib.])
-
-
-etk_libs=`etk-config --libs`
-etk_cflags=`etk-config --cflags`
-eet_libs=`eet-config --libs`
-eet_cflags=`eet-config --cflags`
-
-# add required libs / include here
-my_includes="$etk_cflags $eet_cflags"
-my_libs="$etk_libs $eet_libs"
-AC_SUBST(my_includes)
-AC_SUBST(my_libs)
+PKG_CHECK_MODULES(ESTICKIES, [
+  etk >= 0.1.0.001
+  eet >= 0.9.10.027
+])
 
 AC_OUTPUT([
 Makefile



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