[svn-r11467] Purpose:

Add the detection of the alarm function.

Platforms tested:
Tested in heping.
This commit is contained in:
Albert Cheng 2005-09-26 22:26:03 -05:00
parent e1eccc4987
commit f9fc749ca2
3 changed files with 6 additions and 2 deletions

3
configure vendored
View File

@ -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

View File

@ -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)

View File

@ -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