Enlightenment CVS committal

Author  : lok
Project : e17
Module  : libs/e_dbus

Dir     : e17/libs/e_dbus


Modified Files:
        configure.in 


Log Message:
Added options --disable-ehal --disable-enm and --disable-enotify

===================================================================
RCS file: /cvs/e/e17/libs/e_dbus/configure.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- configure.in        16 Jan 2008 19:47:40 -0000      1.8
+++ configure.in        18 Jan 2008 15:08:59 -0000      1.9
@@ -25,12 +25,36 @@
 version_info=`expr $VMAJ + $VMIN`":$VMIC:$VMIN"
 AC_SUBST(version_info)
 
+dnl Check enabled modules to build
+AC_ARG_ENABLE(ehal,
+                                 AC_HELP_STRING([--disable-ehal], 
+                                                                         
[Disable ehal build]),
+                                 [enable_ehal="no"], 
+                                 [enable_ehal="yes"])
+AC_ARG_ENABLE(enm,
+                                 AC_HELP_STRING([--disable-enm], 
+                                                                         
[Disable enm build]),
+                                 [enable_enm="no"], 
+                                 [enable_enm="yes"])
+AC_ARG_ENABLE(enotify,
+                                 AC_HELP_STRING([--disable-enotify], 
+                                                                         
[Disable enotify build]),
+                                 [enable_enotify="no"], 
+                                 [enable_enotify="yes"])
+
+
 PKG_CHECK_MODULES([EDBUS], [
   dbus-1 >= 0.62
   ecore >= 0.9.9
-  evas >= 0.9.9
 ])
 
+
+dnl evas
+if test "x${enable_enotify}" = "xyes"
+then
+       PKG_CHECK_MODULES(EVAS, [evas >= 0.9.9], [], [enable_enotify="no"])
+fi
+
 AC_ARG_ENABLE(build-test-gui,
   AS_HELP_STRING([--build-test-gui], [Build with gui for testing]),
   [ PKG_CHECK_MODULES([HAL_TEST_GUI], [
@@ -44,6 +68,10 @@
  ]
 )
 
+AM_CONDITIONAL([BUILD_EHAL],    [test "x${enable_ehal}"    = "xyes"])
+AM_CONDITIONAL([BUILD_ENM],     [test "x${enable_enm}"     = "xyes"])
+AM_CONDITIONAL([BUILD_ENOTIFY], [test "x${enable_enotify}" = "xyes"])
+
 AC_OUTPUT([
 e_dbus.spec
 Makefile
@@ -69,6 +97,12 @@
 echo "------------------------------------------------------------------------"
 echo "$PACKAGE $VERSION"
 echo "------------------------------------------------------------------------"
+echo
+echo "Modules:"
+echo
+echo "  EHal.................: $enable_ehal"
+echo "  ENM..................: $enable_enm"
+echo "  ENotify..............: $enable_enotify"
 echo
 echo "Configuration Options Summary:"
 echo



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to