Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : apps/efsd

Dir     : e17/apps/efsd


Modified Files:
        configure.in 


Log Message:
Added the start of the ecore_ipc stuff - use ./configure --enable-ecore to use 
the 
ecore_ipc main loop.  doesn't really do much now, unless you have some debug 
tools :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/efsd/configure.in,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- configure.in        3 Aug 2005 01:39:48 -0000       1.24
+++ configure.in        4 Aug 2005 05:30:22 -0000       1.25
@@ -135,6 +135,45 @@
 AC_PATH_PROG(PERL,perl,0)
 AC_SUBST(PERL)
 
+ecore=""
+AC_MSG_CHECKING(whether to use eCore as main-loop)
+AC_ARG_ENABLE(ecore, AC_HELP_STRING([--enable-ecore],[use eCore as main-loop]),
+                [ ac_use_ecore="$enableval" ],
+                [ ac_use_ecore="no" ]
+                )
+
+if test X"$ac_use_ecore" = Xno; then
+#  if test X"$ac_use_ecoreipc" = Xyes; then
+#    AC_MSG_RESULT([forced by inclusion of eCore-IPC])
+#    ac_use_ecore="forced"
+#  else
+    AC_MSG_RESULT([no])
+#  fi
+else
+  AC_MSG_RESULT([no])
+fi
+
+if test X"$ac_use_ecore" != Xno; then
+  AC_PATH_GENERIC(ecore, 1.0.0, [
+                AC_CHECK_LIB(ecore,ecore_main_loop_iterate,[
+                  ecore_cflags=`ecore-config --cflags`
+                  ecore_libs=`ecore-config --libs`
+                  ecore=yes
+                  if test X"$ac_use_ecore" = Xyes; then
+                    loop=eCore
+                    AC_DEFINE(HAVE_ECORE, 1, have enlightened main loop)
+                    AC_MSG_NOTICE([Building with eCore mainloop. ])
+                  fi
+                ],[
+                  AC_MSG_NOTICE([ecore too old! no enlightened main-loop for 
you! you come back -- one year!])])],[
+                AC_MSG_NOTICE([ecore-config not found. no enlightened IPC.])])
+fi
+
+AC_SUBST(ecore_libs)
+AC_SUBST(ecore_cflags)
+
+
+
 
 dnl Set PACKAGE_LOCALE_DIR in config.h.
 if test "x${prefix}" = "xNONE"; then
@@ -194,6 +233,11 @@
 AM_CONDITIONAL(HAVE_JADE, test "x$JADE" != "x" && test -d "$DB_STYLESHEETS")
 
 
+
+dnl Various conditionals
+AM_CONDITIONAL(BUILD_ECORE_DEPENDENT,      test "$ecore" != "no")
+
+
 AC_OUTPUT([
 Makefile
 efsd-config




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to