diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-08-04 19:17:37 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-08-17 11:19:48 +0200 |
commit | 6d9cd1d66b9817c2975b63b49ef9e6b8ef9fc30e (patch) | |
tree | f1faa580de843bc2ad6c566650d028451a69968e /configure.ac | |
parent | f25f4192c7ea7f3ccb6759dc000a3272e9c4e815 (diff) | |
download | strongswan-6d9cd1d66b9817c2975b63b49ef9e6b8ef9fc30e.tar.bz2 strongswan-6d9cd1d66b9817c2975b63b49ef9e6b8ef9fc30e.tar.xz |
utils: Check for dirfd(3)
Not all POSIX compatible systems might provide it yet. If not, we close
the lowest FD to close and hope it gets reused by opendir().
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 18132757c..545f1fb58 100644 --- a/configure.ac +++ b/configure.ac @@ -583,7 +583,7 @@ AC_CHECK_FUNC( ) AC_CHECK_FUNCS(prctl mallinfo getpass closefrom getpwnam_r getgrnam_r getpwuid_r) -AC_CHECK_FUNCS(fmemopen funopen mmap memrchr setlinebuf strptime) +AC_CHECK_FUNCS(fmemopen funopen mmap memrchr setlinebuf strptime dirfd) AC_CHECK_FUNC([syslog], [ AC_DEFINE([HAVE_SYSLOG], [], [have syslog(3) and friends]) |