summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-08-15 19:47:52 +0300
committermonsta <[email protected]>2016-08-15 21:35:22 +0300
commitccaafea1b11827738d05622e882afa0a6f5355fe (patch)
treee86dc7ed6b677e41a63e8d40f384a15cc702f7ca
parent58776a9a5297efad3236cdbe70230763155fde7e (diff)
downloadmate-applets-ccaafea1b11827738d05622e882afa0a6f5355fe.tar.bz2
mate-applets-ccaafea1b11827738d05622e882afa0a6f5355fe.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 5666b3f5..90a02c7b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -391,11 +391,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],
@@ -427,7 +427,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 ***
@@ -662,7 +662,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