summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-10-23 12:52:18 +0000
committerng0 <ng0@n0.is>2019-10-23 12:52:18 +0000
commitc4cd5da52ee63b5d920f3cb6f87e5a1a3140b148 (patch)
treeccabd00c4b3bdfda554a8061dbeab0d72d2ef00b
parent969a1fe90087ea5799945afc85169a2dc8711b76 (diff)
fix failure to install with sudo for now. real change coming tonight.
-rw-r--r--configure.ac26
1 files changed, 13 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index 7e86b6276..13c1cad35 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1358,19 +1358,19 @@ AC_SUBST(DATAROOTDIR)
# test for sudo
AC_MSG_CHECKING(for sudo)
-AC_CHECK_PROGS(SUDO_BINARY, [sudo], false)
-AM_CONDITIONAL(HAVE_SUDO, test x$SUDO_BINARY != xfalse)
-#AC_ARG_WITH(sudo,
-# [ --with-sudo=PATH path to sudo binary (or just yes)],
-# [AC_MSG_RESULT("$with_sudo")
-# AS_CASE([$with_sudo],
-# [no],[SUDO_BINARY=],
-# [yes],[SUDO_BINARY=sudo],
-# [SUDO_BINARY=$with_sudo])],
-# [AC_MSG_RESULT([no])])
-#AC_SUBST(SUDO_BINARY)
-#AM_CONDITIONAL([HAVE_SUDO],
-# [test "x$SUDO_BINARY" != "x" -o -w /])
+#AC_CHECK_PROGS(SUDO_BINARY, [sudo], false)
+#AM_CONDITIONAL(HAVE_SUDO, test x$SUDO_BINARY != xfalse)
+AC_ARG_WITH(sudo,
+ [ --with-sudo=PATH path to sudo binary (or just yes)],
+ [AC_MSG_RESULT("$with_sudo")
+ AS_CASE([$with_sudo],
+ [no],[SUDO_BINARY=],
+ [yes],[SUDO_BINARY=sudo],
+ [SUDO_BINARY=$with_sudo])],
+ [AC_MSG_RESULT([no])])
+AC_SUBST(SUDO_BINARY)
+AM_CONDITIONAL([HAVE_SUDO],
+ [test "x$SUDO_BINARY" != "x" -o -w /])
# test for doas
AC_MSG_CHECKING(for doas)