From ddf0af75183bc2938b6dfb93d6faab3702e8005d Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 15 Aug 2016 19:47:52 +0300 Subject: build: make --enable-suid option really work --- configure.ac | 10 +++++----- 1 file 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 -- cgit v1.2.1