1 # get rid of that stupid cache mechanism
4 AC_INIT([e_dbus], [0.5.0.061], [enlightenment-devel@lists.sourceforge.net])
6 AC_CONFIG_SRCDIR([configure.ac])
10 AM_INIT_AUTOMAKE(1.6 dist-bzip2)
11 AM_CONFIG_HEADER(config.h)
17 define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
18 define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
21 VMAJ=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $1);}'`
22 VMIN=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $2);}'`
23 VMIC=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $3);}'`
24 SNAP=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $4);}'`
25 version_info=`expr $VMAJ + $VMIN`":$VMIC:$VMIN"
26 release="ver-pre-svn-02"
27 econnman_release_info="-release $release"
28 edbus_release_info="-release $release"
29 ehal_release_info="-release $release"
30 enm_release_info="-release $release"
31 enotify_release_info="-release $release"
32 AC_SUBST(version_info)
33 AC_SUBST(econnman_release_info)
34 AC_SUBST(edbus_release_info)
35 AC_SUBST(ehal_release_info)
36 AC_SUBST(enm_release_info)
37 AC_SUBST(enotify_release_info)
39 dnl Check enabled modules to build
41 AC_HELP_STRING([--disable-ehal],
42 [Disable ehal build]),
43 [enable_ehal=$enableval],
46 AC_HELP_STRING([--enable-enm],
47 [Enable enm (network manager) build]),
48 [enable_enm=$enableval],
50 AC_ARG_ENABLE(econnman,
51 AC_HELP_STRING([--enable-econnman],
52 [Enable econnman build]),
53 [enable_econnman=$enableval],
54 [enable_econnman="no"])
55 AC_ARG_ENABLE(enotify,
56 AC_HELP_STRING([--disable-enotify],
57 [Disable enotify build]),
58 [enable_enotify=$enableval],
59 [enable_enotify="yes"])
62 PKG_CHECK_MODULES([EINA], [eina-0])
64 PKG_CHECK_MODULES([EDBUS], [
71 if test "x${enable_enotify}" = "xyes"
73 PKG_CHECK_MODULES(EVAS, [evas >= 0.9.9], [], [enable_enotify="no"])
76 AC_ARG_ENABLE(build-test-gui,
77 AS_HELP_STRING([--enable-build-test-gui], [Build with gui for testing]),
78 [ PKG_CHECK_MODULES([HAL_TEST_GUI], [
82 # temporarily disable until update to newer tree2 api
83 [AC_DEFINE([EWL_GUI], 0, [An ewl gui for e_dbus_hal])],
84 [AC_DEFINE([EWL_GUI], 0, [An ewl gui for e_dbus_hal])]
89 AM_CONDITIONAL([BUILD_EHAL], [test "x${enable_ehal}" = "xyes"])
90 AM_CONDITIONAL([BUILD_ENM], [test "x${enable_enm}" = "xyes"])
91 AM_CONDITIONAL([BUILD_ENOTIFY], [test "x${enable_enotify}" = "xyes"])
92 AM_CONDITIONAL([BUILD_ECONNMAN], [test "x${enable_econnman}" = "xyes"])
102 src/lib/notification/Makefile
103 src/lib/connman/Makefile
113 #####################################################################
119 echo "------------------------------------------------------------------------"
120 echo "$PACKAGE $VERSION"
121 echo "------------------------------------------------------------------------"
125 echo " EHal.................: $enable_ehal"
126 echo " ENM..................: $enable_enm"
127 echo " EConnman.............: $enable_econnman"
128 echo " ENotify..............: $enable_enotify"
130 echo "Configuration Options Summary:"
132 echo " Compilation..........: make"
134 echo " Installation.........: make install"
136 echo " prefix.............: $prefix"