summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-08-15 19:47:52 +0300
committermonsta <[email protected]>2016-08-15 19:47:52 +0300
commitddf0af75183bc2938b6dfb93d6faab3702e8005d (patch)
treeb4094ece0a0a4062f96cb7b9fecb720c7f6ac1c3
parentdf9f48cd24fe20e58564876586e8b8aaa93e6930 (diff)
downloadmate-applets-ddf0af75183bc2938b6dfb93d6faab3702e8005d.tar.bz2
mate-applets-ddf0af75183bc2938b6dfb93d6faab3702e8005d.tar.xz
build: make --enable-suid option really work
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 48035596..b618adb0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -385,11 +385,11 @@ AC_ARG_ENABLE(frequency-selector,
dnl --enable-suid=(yes/no)
AC_ARG_ENABLE(suid,
[ --enable-suid[@<:@=yes/no@:>@] suid root the frequency selector executable
- [@<:@default: yes@:>@]], ,
- suid=yes)
+ [@<:@default: yes@:>@]],,
+ enable_suid=yes)
if test "x$HAVE_POLKIT" = "xyes"; then
- suid=no
+ enable_suid=no
fi
AC_ARG_WITH([cpufreq-lib],
@@ -421,7 +421,7 @@ fi
AM_CONDITIONAL(BUILD_CPUFREQ_APPLET, test x$build_cpufreq_applet = xyes)
AM_CONDITIONAL(BUILD_CPUFREQ_SELECTOR, test x$enable_selector = xyes)
-AM_CONDITIONAL(CPUFREQ_SELECTOR_SUID, test x$suid = xyes)
+AM_CONDITIONAL(CPUFREQ_SELECTOR_SUID, test x$enable_suid = xyes)
dnl ***************************************************************************
dnl *** timerapplet specific checks ***
@@ -656,7 +656,7 @@ mate-applets-$VERSION configure summary:
- cpufreq $build_cpufreq_applet
- building selector $enable_selector
- using PolicyKit $HAVE_POLKIT
- - enabling suid bit $suid
+ - enabling suid bit $enable_suid
- drivemount always
- geyes always
- mateweather $build_libmateweather_applets