Enlightenment CVS committal
Author : monkeyiq
Project : misc
Module : gevas2
Dir : misc/gevas2
Modified Files:
configure.in
Log Message:
Some cleanups, new image_init call so that images actually still load with
more recent evas versions. Better checking for newer evas installs which
dont have old evas-config script.
===================================================================
RCS file: /cvs/e/misc/gevas2/configure.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- configure.in 22 Apr 2006 10:05:56 -0000 1.8
+++ configure.in 15 Aug 2007 05:51:16 -0000 1.9
@@ -52,21 +52,36 @@
dnl Set PACKAGE_DATA_DIR in config.h.
-if test "x${datadir}" = 'x${prefix}/share'; then
+if test "x${datarootdir}" = 'x${prefix}/share'; then
if test "x${prefix}" = "xNONE"; then
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR,
"${ac_default_prefix}/share/${PACKAGE}")
else
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${prefix}/share/${PACKAGE}")
fi
else
- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}/${PACKAGE}")
+ AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datarootdir}/${PACKAGE}")
fi
-evas_cflags=`evas-config --cflags`
-evas_libs=`evas-config --libs`
+dnl evas_cflags=`evas-config --cflags`
+dnl evas_libs=`evas-config --libs`
+
+
+have_evas=no
+PKG_CHECK_MODULES(EVAS, evas >= 0.9.9,
+[
+ have_evas=yes
+],
+[
+ AC_MSG_ERROR([Fatal Error: please install latest evas package.])
+])
+AM_CONDITIONAL(HAVE_EVAS, test "$have_evas" = yes)
+evas_cflags=$EVAS_CFLAGS
+evas_libs=$EVAS_LIBS
+AC_SUBST(EVAS_LIBS)
+AC_SUBST(EVAS_CFLAGS)
if test "x${prefix}" = 'xNONE'; then
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs