From def2ebbdbfbc2a340775277cfa6e7551813104fd Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Fri, 17 Sep 2010 13:29:53 +0000 Subject: [PATCH] * elementary: make it possible to disable quick launch manually. SVN revision: 52366 --- legacy/elementary/configure.ac | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/legacy/elementary/configure.ac b/legacy/elementary/configure.ac index a9831ba775..d92f3a7fff 100644 --- a/legacy/elementary/configure.ac +++ b/legacy/elementary/configure.ac @@ -153,10 +153,17 @@ esac AM_CONDITIONAL([BUILD_RUN], [test "x$have_socket" = "xyes"]) have_fork="no" -AC_CHECK_FUNCS(fork, [ - have_fork="yes" - AC_DEFINE(HAVE_FORK) -]) +want_quicklaunch="auto" +AC_ARG_ENABLE([quick-launch], + [AC_HELP_STRING([--disable-quick-launch], [disable quick-launch support, @<:@default=detect@:>@])], + [want_quicklaunch=$enableval], []) + +if test "x$want_quicklaunch" != "xno"; then + AC_CHECK_FUNCS(fork, [ + have_fork="yes" + AC_DEFINE(HAVE_FORK) + ]) +fi AM_CONDITIONAL([BUILD_QUICKLAUNCH], [test "x$have_fork" = "xyes"]) AC_SUBST(dlopen_libs) @@ -482,6 +489,7 @@ echo " EDBus..................: ${have_elementary_edbus}" echo " EFreet.................: ${have_elementary_efreet}" echo " EWeather...............: ${have_elementary_eweather}" echo " Ethumb.................: ${have_elementary_ethumb}" +echo " Quick Launch...........: ${have_fork}" echo echo " eet......................: ${eet_eet}" echo " edje_cc..................: ${edje_cc}"