Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e
Modified Files:
Tag: branch-exp
configure.in
Log Message:
Start (optionally) using ecore-x.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/configure.in,v
retrieving revision 1.99.2.5
retrieving revision 1.99.2.6
diff -u -3 -r1.99.2.5 -r1.99.2.6
--- configure.in 15 Aug 2004 07:28:25 -0000 1.99.2.5
+++ configure.in 25 Aug 2004 21:56:56 -0000 1.99.2.6
@@ -86,6 +86,11 @@
enable_config_edb=yes
)
+AC_ARG_ENABLE(ecore-x,
+ [ --enable-ecore-x use ecore-x interface to X11 [default=no]],,
+ enable_ecore_x=no
+)
+
if test "x$enable_hints_ewmh" = "xyes"; then
AC_DEFINE(ENABLE_EWMH, 1, [Extended Window Manager Hints])
fi
@@ -133,7 +138,6 @@
LDFLAGS="$LDFLAGS -L$prefix/lib"
-# Imlib2
IMLIB_LIBS=`imlib2-config --libs`
IMLIB_CFLAGS=`imlib2-config --cflags`
AC_SUBST(IMLIB_LIBS)
@@ -143,6 +147,18 @@
AC_MSG_ERROR([Fatal Error: no Imlib2 detected.]),
$IMLIB_LIBS)
+if test "x$enable_ecore_x" = "xyes"; then
+AC_CHECK_LIB(ecore_x, ecore_x_init, [
+ AC_DEFINE(USE_ECORE_X, 1, [Ecore_x support])
+ AC_SUBST(ecore_libs)
+ AC_SUBST(ecore_cflags) ],
+ AC_MSG_ERROR(Cannot find ecore: Is ecore-config in path?))
+ecore_libs=`ecore-config --libs`
+ecore_cflags=`ecore-config --cflags`
+AC_SUBST(ecore_libs)
+AC_SUBST(ecore_cflags)
+fi
+
AC_CHECK_LIB(dl, dlopen, DL_LIBS=-ldl , [
echo "Warning: Enlightenment requires the dl (dynamic loader) library"
echo "to be supported on your platform for module support. Modules"
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs