Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore


Modified Files:
        configure.in 


Log Message:
Correctly set the AM_CONDITIONALs for a couple missed cases. Add some
dependancy checks and notices.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/configure.in,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- configure.in        16 Dec 2003 05:54:42 -0000      1.22
+++ configure.in        17 Dec 2003 16:25:51 -0000      1.23
@@ -189,10 +189,12 @@
     have_ecore_x="yes"
   ]
   )
+else
+  AC_MSG_NOTICE(ecore_txt not enabled, so ecore_x will not be enabled)
 fi
 
 if test "x$have_ecore_x" = "xyes"; then
-  AM_CONDITIONAL(BUILD_ECORE_X, test "$enableval" = "yes")
+  AM_CONDITIONAL(BUILD_ECORE_X, true)
   AC_DEFINE(BUILD_ECORE_X)
   x_dir="/usr/X11R6";
   x_includes="";
@@ -298,7 +300,6 @@
 EVAS_CONFIG=$PROG_CONFIG
 
 AC_MSG_CHECKING(whether ecore_evas module is to be built)
-
 AC_ARG_ENABLE(ecore-evas, 
 [  --enable-ecore-evas             enable the ecore_evas module], [
   if [ test "$enableval" = "yes" ]; then  
@@ -418,7 +419,7 @@
 )
 
 if test "x$have_ecore_con" = "xyes"; then
-  AM_CONDITIONAL(BUILD_ECORE_CON, test "$enableval" = "yes")
+  AM_CONDITIONAL(BUILD_ECORE_CON, true)
   AC_DEFINE(BUILD_ECORE_CON)
   ecore_con_libs="-lecore_con"
 else
@@ -428,25 +429,28 @@
 AC_SUBST(ecore_con_cflags)
 AC_SUBST(ecore_con_libs)
 
-AC_MSG_CHECKING(whether ecore_ipc module is to be built)
-
 have_ecore_ipc="";
 ecore_ipc_cflags="";
 ecore_ipc_libs="";
 
-AC_ARG_ENABLE(ecore-ipc, 
-[  --enable-ecore-ipc              enable the ecore_ipc module], [
-  if [ test "$enableval" = "yes" ]; then  
+if test "x$have_ecore_con" = "xyes"; then
+AC_MSG_CHECKING(whether ecore_ipc module is to be built)
+  AC_ARG_ENABLE(ecore-ipc, 
+  [  --enable-ecore-ipc              enable the ecore_ipc module], [
+    if [ test "$enableval" = "yes" ]; then  
+      AC_MSG_RESULT(yes)
+      have_ecore_ipc="yes"
+    else
+      AC_MSG_RESULT(no)
+    fi
+  ], [
     AC_MSG_RESULT(yes)
     have_ecore_ipc="yes"
-  else
-    AC_MSG_RESULT(no)
-  fi
-], [
-  AC_MSG_RESULT(yes)
-  have_ecore_ipc="yes"
-]
-)
+  ]
+  )
+else
+  AC_MSG_NOTICE(ecore_con not enabled, so ecore_ipc will not be enabled)
+fi
 
 if test "x$have_ecore_ipc" = "xyes"; then
   AM_CONDITIONAL(BUILD_ECORE_IPC, true)




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to