Add missing '[' to AS_IF() call.

Fixes GitHub issue #238.
This commit is contained in:
Todd C. Miller
2023-02-14 14:24:28 -07:00
parent a80dcc6aca
commit defec5d46e
2 changed files with 4 additions and 3 deletions

5
configure vendored
View File

@@ -24525,7 +24525,8 @@ fi
if test X"$with_noexec" != X"no"
then :
# Check for non-standard exec functions
# Check for non-standard exec functions
ac_fn_c_check_func "$LINENO" "exect" "ac_cv_func_exect"
if test "x$ac_cv_func_exect" = xyes
then :
@@ -24564,7 +24565,7 @@ fi
fi
]
fi
cat confdefs.h - <<_ACEOF >conftest.$ac_ext

View File

@@ -3022,7 +3022,7 @@ AC_CHECK_FUNCS([setpassent setgroupent])
dnl
dnl Function checks for sudo_noexec
dnl
AS_IF([test X"$with_noexec" != X"no"],
AS_IF([test X"$with_noexec" != X"no"], [
# Check for non-standard exec functions
AC_CHECK_FUNCS([exect execvP execvpe])
# Check for posix_spawn, and posix_spawnp