diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-09-27 03:26:24 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-09-27 03:26:24 (GMT) |
commit | f343e0fbc2c55706fe70381257573817a06efc39 (patch) | |
tree | bcba7337551fd96f88ef485c8421acc22ffc81b5 | |
parent | 5428eae1ccdf8f9976693f7318e810d0ee6fca2a (diff) | |
download | hdf5-f343e0fbc2c55706fe70381257573817a06efc39.zip hdf5-f343e0fbc2c55706fe70381257573817a06efc39.tar.gz hdf5-f343e0fbc2c55706fe70381257573817a06efc39.tar.bz2 |
[svn-r11468] Purpose:
Add the detection of the alarm function.
Platforms tested:
Tested in heping.
-rwxr-xr-x | configure | 3 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | src/H5config.h.in | 3 |
3 files changed, 6 insertions, 2 deletions
@@ -33834,7 +33834,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 480b174..48ff7f4 100644 --- a/configure.in +++ b/configure.in @@ -1521,7 +1521,7 @@ AC_MSG_RESULT([no])) dnl ---------------------------------------------------------------------- dnl Check for functions. 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 vsnprintf strdup system waitpid) diff --git a/src/H5config.h.in b/src/H5config.h.in index 7f5b745..5ada6e9 100644 --- a/src/H5config.h.in +++ b/src/H5config.h.in @@ -10,6 +10,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 |