X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=configure;h=95df243baba743e2d14269b9bae11c2a6b6f8685;hb=346e58e98596142ac2f3059814bbc7708b6824fd;hp=1f3e2cbc75808c044bfc04c022c42eb7913f49d1;hpb=331dda05d1d06fcb12763be9c34c82b5e280b3bc;p=opendoas.git diff --git a/configure b/configure index 1f3e2cb..95df243 100755 --- a/configure +++ b/configure @@ -27,7 +27,7 @@ usage: configure [options] --without-pam disable pam support --without-shadow disable shadow support - --without-timestamp disable timestamp support + --with-timestamp enable timestamp support --help, -h display this help and exit EOF @@ -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().