From 753a60f18454c0870bb0db7a0152e60afa98911c Mon Sep 17 00:00:00 2001 From: Mike McGreevy Date: Tue, 7 Aug 2007 16:01:15 -0500 Subject: [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 --- configure | 5 +++-- configure.in | 2 +- src/H5config.h.in | 3 +++ 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 -- cgit v0.12