]> git.armaanb.net Git - opendoas.git/blobdiff - configure
add back execvpe fallback
[opendoas.git] / configure
index 632c74afff96c96218522059ef611accc8a6eca0..94ded41f2d0042253160c2b9b2c1721d47f4e09e 100755 (executable)
--- a/configure
+++ b/configure
@@ -360,7 +360,9 @@ int main(void) {
        execvpe("", p, p);
        return 0;
 }'
-check_func "execvpe" "$src" || die "system has no execvpe(3): not supported"
+check_func "execvpe" "$src" || {
+       printf 'SRCS += libopenbsd/execvpe.c\n' >>$CONFIG_MK
+}
 
 #
 # Check for setresuid().