]> git.armaanb.net Git - opendoas.git/blobdiff - configure
libopenbsd: remove MacOSX compat functions, its not supported anyways
[opendoas.git] / configure
index 4dfd287ade349527c511d53434813253b501cbb9..95df243baba743e2d14269b9bae11c2a6b6f8685 100755 (executable)
--- a/configure
+++ b/configure
@@ -326,9 +326,7 @@ int main(void) {
        execvpe("", p, p);
        return 0;
 }'
-check_func "execvpe" "$src" || {
-       printf 'OPENBSD  +=     execvpe.o\n' >>$CONFIG_MK
-}
+check_func "execvpe" "$src" || die "system has no execvpe(3): not supported"
 
 #
 # Check for setresuid().
@@ -339,9 +337,7 @@ int main(void) {
        setresuid(0, 0, 0);
        return 0;
 }'
-check_func "setresuid" "$src" || {
-       printf 'OPENBSD  +=     setresuid.o\n' >>$CONFIG_MK
-}
+check_func "setresuid" "$src" || die "system has no setresuid(2): not supported"
 
 #
 # Check for closefrom().