summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure3
-rw-r--r--configure.in2
-rw-r--r--src/H5config.h.in3
3 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index db94a8b..0fe169d 100755
--- a/configure
+++ b/configure
@@ -46432,7 +46432,8 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-for ac_func in fork frexpf frexpl gethostname getpwuid getrusage
+
+for ac_func in alarm fork frexpf frexpl gethostname getpwuid getrusage
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
diff --git a/configure.in b/configure.in
index d116d84..2e366e9 100644
--- a/configure.in
+++ b/configure.in
@@ -1605,7 +1605,7 @@ dnl ----------------------------------------------------------------------
dnl Check for functions.
dnl tmpfile needed by h5pdiff.
dnl
-AC_CHECK_FUNCS(fork frexpf frexpl gethostname getpwuid getrusage)
+AC_CHECK_FUNCS(alarm fork frexpf frexpl gethostname getpwuid getrusage)
AC_CHECK_FUNCS(BSDgettimeofday longjmp setsysinfo sigaction)
AC_CHECK_FUNCS(signal snprintf vasprintf strdup system waitpid)
AC_CHECK_FUNCS(random srandom)
diff --git a/src/H5config.h.in b/src/H5config.h.in
index e20fdbe..0ffb869 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -36,6 +36,9 @@
/* Define if gettimeofday() populates the tz pointer passed in */
#undef GETTIMEOFDAY_GIVES_TZ
+/* Define to 1 if you have the `alarm' function. */
+#undef HAVE_ALARM
+
/* Define if the __attribute__(()) extension is present */
#undef HAVE_ATTRIBUTE