SNAP=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $4);}'`
version_info=`expr $VMAJ + $VMIN`":$VMIC:$VMIN"
econnman_release_info="-release $release"
+ebluez_release_info="-release $release"
edbus_release_info="-release $release"
ehal_release_info="-release $release"
enm_release_info="-release $release"
enotify_release_info="-release $release"
AC_SUBST(version_info)
AC_SUBST(econnman_release_info)
+AC_SUBST(ebluez_release_info)
AC_SUBST(edbus_release_info)
AC_SUBST(ehal_release_info)
AC_SUBST(enm_release_info)
[enable_econnman=$enableval],
[enable_econnman="yes"])
+AC_ARG_ENABLE([ebluez],
+ [AC_HELP_STRING([--enable-ebluez], [Enable ebluez build])],
+ [enable_ebluez=$enableval],
+ [enable_ebluez="yes"])
+
AC_ARG_ENABLE([enotify],
[AC_HELP_STRING([--disable-enotify], [Disable enotify build])],
[enable_enotify=$enableval],
ecore >= 0.9.9
])
+##### Find out the version of DBUS we're using
+dbus_version=`pkg-config --modversion dbus-1`
+DBUS_VERSION_MAJOR=`echo $dbus_version | awk -F. '{print $1}'`
+DBUS_VERSION_MINOR=`echo $dbus_version | awk -F. '{print $2}'`
+DBUS_VERSION_MICRO=`echo $dbus_version | awk -F. '{print $3}'`
+if test "z$DBUS_VERSION_MAJOR" = "z"; then
+ DBUS_VERSION_MAJOR="0"
+fi
+if test "z$DBUS_VERSION_MINOR" = "z"; then
+ DBUS_VERSION_MINOR="0"
+fi
+if test "z$DBUS_VERSION_MICRO" = "z"; then
+ DBUS_VERSION_MICRO="0"
+fi
+DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
+DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
+DBUS_VERSION_CFLAGS="$DBUS_VERSION_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
+AC_SUBST(DBUS_VERSION_CFLAGS)
+
+AC_FUNC_ALLOCA
dnl evas
if test "x${enable_enotify}" = "xyes" ; then
AM_CONDITIONAL([BUILD_ENM], [test "x${enable_enm}" = "xyes"])
AM_CONDITIONAL([BUILD_ENOTIFY], [test "x${enable_enotify}" = "xyes"])
AM_CONDITIONAL([BUILD_ECONNMAN], [test "x${enable_econnman}" = "xyes"])
+AM_CONDITIONAL([BUILD_EBLUEZ], [test "x${enable_ebluez}" = "xyes"])
EFL_EDBUS_BUILD=""
lt_enable_auto_import=""
src/lib/nm/Makefile
src/lib/notification/Makefile
src/lib/connman/Makefile
+src/lib/bluez/Makefile
src/bin/Makefile
edbus.pc
ehal.pc
enotify.pc
enm.pc
econnman.pc
+ebluez.pc
])
echo " EHal...............: $enable_ehal"
echo " ENM................: $enable_enm"
echo " EConnman...........: $enable_econnman"
+echo " EBluez.............: $enable_ebluez"
echo " ENotify............: $enable_enotify"
echo
echo "Compilation............: make (or gmake)"