summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-12-11 08:19:10 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-12-11 08:19:10 (GMT)
commitf53c939bd05b44d0cfc520f4de870d139ab1e61f (patch)
tree32d87e8436e40b3f1bc8dc49a1e364cbe3f5e4bb /configure.ac
parent1b62a22e0ca679cadb666e6951a65fc74dec4b69 (diff)
downloadhdf5-f53c939bd05b44d0cfc520f4de870d139ab1e61f.zip
hdf5-f53c939bd05b44d0cfc520f4de870d139ab1e61f.tar.gz
hdf5-f53c939bd05b44d0cfc520f4de870d139ab1e61f.tar.bz2
[svn-r28581] Brought flock changes over from revise_chunks as well as a few
minor tweaks from H5private.h. Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial only, autotools and CMake (3.3.2)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index b9606f4..0c3514c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -947,7 +947,7 @@ AC_HEADER_TIME
## Unix
AC_CHECK_HEADERS([sys/resource.h sys/time.h unistd.h sys/ioctl.h sys/stat.h])
-AC_CHECK_HEADERS([sys/socket.h sys/types.h])
+AC_CHECK_HEADERS([sys/socket.h sys/types.h sys/file.h])
AC_CHECK_HEADERS([stddef.h setjmp.h features.h])
AC_CHECK_HEADERS([dirent.h])
AC_CHECK_HEADERS([stdint.h], [C9x=yes])
@@ -1743,8 +1743,8 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
## NOTE: clock_gettime may require linking to the rt or posix4 library
## so we'll search for it before calling AC_CHECK_FUNCS.
AC_SEARCH_LIBS([clock_gettime], [rt posix4])
-AC_CHECK_FUNCS([alarm clock_gettime difftime fork frexpf frexpl])
-AC_CHECK_FUNCS([gethostname getpwuid getrusage gettimeofday])
+AC_CHECK_FUNCS([alarm clock_gettime difftime fcntl flock fork frexpf])
+AC_CHECK_FUNCS([frexpl gethostname getpwuid getrusage gettimeofday])
AC_CHECK_FUNCS([lstat rand_r random setsysinfo])
AC_CHECK_FUNCS([signal longjmp setjmp siglongjmp sigsetjmp sigprocmask])
AC_CHECK_FUNCS([snprintf srandom strdup symlink system])