Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e
Modified Files:
configure.in
Log Message:
Try doing Imlib2 configuration properly.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/configure.in,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -3 -r1.90 -r1.91
--- configure.in 27 Apr 2004 18:59:53 -0000 1.90
+++ configure.in 8 May 2004 15:53:21 -0000 1.91
@@ -126,10 +126,14 @@
if test "x$with_imlib2" = "xyes"; then
# Use Imlib2
-AC_CHECK_LIB(Imlib2, imlib_create_image, IMLIB_LIBS=-lImlib2, [
-echo "ERROR: Imlib2 support requested but not found (imlib2)."
-AC_MSG_ERROR([Fatal Error: no Imlib2 detected.])], -lm)
-AC_DEFINE(USE_IMLIB2, 1, [Imlib2 support])
+IMLIB_LIBS=`imlib2-config --libs`
+IMLIB_CFLAGS=`imlib2-config --cflags`
+AC_SUBST(IMLIB_LIBS)
+AC_SUBST(IMLIB_CFLAGS)
+AC_CHECK_LIB(Imlib2, imlib_create_image,
+ AC_DEFINE(USE_IMLIB2, 1, [Imlib2 support]),
+ AC_MSG_ERROR([Fatal Error: no Imlib2 detected.]),
+ $IMLIB_LIBS)
with_fnlib="no"
else
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs