summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2013-03-10 15:53:24 +0900
committerCedric Bail <cedric.bail@free.fr>2013-03-10 16:00:39 +0900
commitc70e82bf448ec0a2038d9c66b6743fd73de23f25 (patch)
treef31c1531141ea5d92e62fb191afc2ba79be0a664 /configure.ac
parent9176271492a7e46305ab95e5e9cf87687c38956c (diff)
eeze: put all the AM_CONDITIONAL outside of the ninja if.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 5 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index d43be7bed3..f613a9d856 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3160,16 +3160,10 @@ PKG_CHECK_EXISTS([mount > 2.19.0],
3160AC_MSG_CHECKING([Use new libmount API (older than 2.19.0)]) 3160AC_MSG_CHECKING([Use new libmount API (older than 2.19.0)])
3161AC_MSG_RESULT([${have_libmount_new}]) 3161AC_MSG_RESULT([${have_libmount_new}])
3162 3162
3163AM_CONDITIONAL([EEZE_LIBMOUNT_AFTER_219],
3164 [test "x${have_libmount_new}" = "xyes"])
3165if test "x${have_libmount_old}" = "xyes"; then 3163if test "x${have_libmount_old}" = "xyes"; then
3166 AC_DEFINE_UNQUOTED([OLD_LIBMOUNT], [1], [using first version of libmount]) 3164 AC_DEFINE_UNQUOTED([OLD_LIBMOUNT], [1], [using first version of libmount])
3167fi 3165fi
3168 3166
3169AM_CONDITIONAL([EEZE_LIBMOUNT_BEFORE_219],
3170 [test "x${have_libmount_old}" = "xyes"])
3171AM_CONDITIONAL([HAVE_EEZE_MOUNT], [test "x${have_eeze_mount}" = "xyes"])
3172
3173## modules 3167## modules
3174if test "${want_tizen}" = "yes"; then 3168if test "${want_tizen}" = "yes"; then
3175 PKG_CHECK_MODULES([TIZEN_SENSOR], [capi-system-sensor]) 3169 PKG_CHECK_MODULES([TIZEN_SENSOR], [capi-system-sensor])
@@ -3208,6 +3202,11 @@ AC_DEFINE_UNQUOTED([EEZE_EJECT_BIN], ["$with_eeze_eject"], [eject bin to use])
3208 3202
3209EFL_LIB_END_OPTIONAL([Eeze]) 3203EFL_LIB_END_OPTIONAL([Eeze])
3210 3204
3205AM_CONDITIONAL([EEZE_LIBMOUNT_AFTER_219],
3206 [test "x${have_libmount_new}" = "xyes"])
3207AM_CONDITIONAL([EEZE_LIBMOUNT_BEFORE_219],
3208 [test "x${have_libmount_old}" = "xyes"])
3209AM_CONDITIONAL([HAVE_EEZE_MOUNT], [test "x${have_eeze_mount}" = "xyes"])
3211AM_CONDITIONAL([HAVE_EEZE_TIZEN], [test "x${want_tizen}" = "xyes"]) 3210AM_CONDITIONAL([HAVE_EEZE_TIZEN], [test "x${want_tizen}" = "xyes"])
3212#### End of Eeze 3211#### End of Eeze
3213 3212