fix failure to install with sudo for now. real change coming tonight.
authorng0 <ng0@n0.is>
Wed, 23 Oct 2019 12:52:18 +0000 (12:52 +0000)
committerng0 <ng0@n0.is>
Wed, 23 Oct 2019 12:52:18 +0000 (12:52 +0000)
configure.ac

index 7e86b6276160d5115bcd1e8b42e03abb5b7c87ae..13c1cad35cbb02d7aaa872f30e9dcbc9a78c7421 100644 (file)
@@ -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)