summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2007-08-07 21:01:15 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2007-08-07 21:01:15 (GMT)
commit753a60f18454c0870bb0db7a0152e60afa98911c (patch)
tree030f46580a88c9327d07c246d9760727695d1394
parentc897b7ea07ccafd47d32a02e6a945156b0832726 (diff)
downloadhdf5-753a60f18454c0870bb0db7a0152e60afa98911c.zip
hdf5-753a60f18454c0870bb0db7a0152e60afa98911c.tar.gz
hdf5-753a60f18454c0870bb0db7a0152e60afa98911c.tar.bz2
[svn-r14047] Purpose: Adding H5_HAVE_SIGLONGJMP macro to configure.
Description: Configure will now detect the presence of the 'siglongjmp' function. If present, the macro H5_HAVE_SIGLONGJMP will be defined in src/H5pubconf.h. Tested: kagiso, smirom, linew
-rwxr-xr-xconfigure5
-rw-r--r--configure.in2
-rw-r--r--src/H5config.h.in3
3 files changed, 7 insertions, 3 deletions
diff --git a/configure b/configure
index 58a7d7f..e75de72 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Id: configure.in 14025 2007-07-30 19:55:28Z epourmal .
+# From configure.in Id: configure.in 14027 2007-07-30 19:59:05Z epourmal .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for HDF5 1.8.0-beta3post1.
#
@@ -46909,7 +46909,8 @@ done
-for ac_func in BSDgettimeofday longjmp setsysinfo sigaction
+
+for ac_func in BSDgettimeofday siglongjmp longjmp setsysinfo sigaction
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 48d3167..3006b9e 100644
--- a/configure.in
+++ b/configure.in
@@ -1850,7 +1850,7 @@ dnl Check for functions.
dnl tmpfile needed by h5pdiff.
dnl
AC_CHECK_FUNCS(alarm fork frexpf frexpl gethostname getpwuid getrusage)
-AC_CHECK_FUNCS(BSDgettimeofday longjmp setsysinfo sigaction)
+AC_CHECK_FUNCS(BSDgettimeofday siglongjmp longjmp setsysinfo sigaction)
AC_CHECK_FUNCS(signal snprintf vasprintf strdup system waitpid)
AC_CHECK_FUNCS(rand_r random srandom)
AC_CHECK_FUNCS(tmpfile)
diff --git a/src/H5config.h.in b/src/H5config.h.in
index 8039303..b9891e2 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -252,6 +252,9 @@
/* Define to 1 if you have the `sigaction' function. */
#undef HAVE_SIGACTION
+/* Define to 1 if you have the `siglongjmp' function. */
+#undef HAVE_SIGLONGJMP
+
/* Define to 1 if you have the `signal' function. */
#undef HAVE_SIGNAL