diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -1330,6 +1330,30 @@ else fi # +# fcntl +# + +printf "Checking for POSIX fcntl ... " + +cat > conftest.c <<! +#include "config.h" +#include <fcntl.h> + +int main(int argc, char **argv) +{ + int err = fcntl(0, F_SETFD, FD_CLOEXEC); + return 0; +} +! + +if conftest ; then + printf "yes\n" + printf "#define HAVE_FCNTL_H 1\n" >> config.h +else + printf "no\n" +fi + +# # Check for fields inside struct tm # |