summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@openwide.fr>2015-04-23 23:17:58 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-28 11:37:11 +0200
commit4351f0fa8642b163799c6ce47610d5cd9f70acfa (patch)
treeb5af9084c7a9529b9cb075503a19011239424915 /configure.ac
parent5c4eea6fffd4aef3d98f713e4f1de9242d0e1a02 (diff)
autotools: add --disable-libeeze
When cross-compiling, we only want to build edje_cc, embryo_cc and eet binaries for the host before starting the build for the target. This patch allows to disable libeeze in order to shorten the build time but most of all remove the dependency on libudev. In normal case it's not recommended hence a warning. Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac34
1 files changed, 33 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1533fa3..a3a6264 100644
--- a/configure.ac
+++ b/configure.ac
@@ -617,6 +617,31 @@ AC_DEFINE_IF([HAVE_ATFILE_SOURCE],
617 617
618###################### EFL ###################### 618###################### EFL ######################
619 619
620want_libeeze="yes"
621AC_ARG_ENABLE([libeeze],
622 [AS_HELP_STRING([--disable-libeeze],[disable Eeze device library @<:@default=enable@:>@])],
623 [
624 if test "x${enableval}" = "xyes"; then
625 want_libeeze="yes"
626 else
627 want_libeeze="no"
628 CFOPT_WARNING="yes"
629 fi
630 ])
631
632build_libeeze="yes"
633if test "x${want_libeeze}" = "xyes" ; then
634 if test "x${have_linux}" = "xyes" ; then
635 build_libeeze="yes"
636 else
637 build_libeeze="no"
638 want_libeeze="no"
639 CFOPT_WARNING="yes"
640 fi
641else
642 build_libeeze="no"
643fi
644
620AC_ARG_ENABLE([systemd], 645AC_ARG_ENABLE([systemd],
621 [AS_HELP_STRING([--enable-systemd],[Enable systemd support. @<:@default=disabled@:>@])], 646 [AS_HELP_STRING([--enable-systemd],[Enable systemd support. @<:@default=disabled@:>@])],
622 [ 647 [
@@ -2965,7 +2990,7 @@ have_libmount_new="no"
2965have_libmount_old="no" 2990have_libmount_old="no"
2966have_eeze_mount="no" 2991have_eeze_mount="no"
2967 2992
2968EFL_LIB_START_OPTIONAL([Eeze], [test "${have_linux}" = "yes"]) 2993EFL_LIB_START_OPTIONAL([Eeze], [test "x${build_libeeze}" = "xyes"])
2969 2994
2970### Additional options to configure 2995### Additional options to configure
2971AC_ARG_WITH([mount], 2996AC_ARG_WITH([mount],
@@ -4993,6 +5018,13 @@ if test -n "$CFOPT_WARNING"; then
4993 echo "to both as it will break your build if set to eo." 5018 echo "to both as it will break your build if set to eo."
4994 echo "_____________________________________________________________________" 5019 echo "_____________________________________________________________________"
4995 fi 5020 fi
5021 if test "x${want_libeeze}" = "xno"; then
5022 echo "_____________________________________________________________________"
5023 echo "Libeeze has been disabled, and it is used heavily for support of"
5024 echo "removable devices etc. and disabling this will hurt support for"
5025 echo "Enlightenment and its filemanager."
5026 echo "_____________________________________________________________________"
5027 fi
4996 echo "_____________________________________________________________________" 5028 echo "_____________________________________________________________________"
4997 echo "" 5029 echo ""
4998 echo "==-- WARNING --==" 5030 echo "==-- WARNING --=="