diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2013-04-24 18:27:27 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2013-04-24 18:27:27 (GMT) |
commit | 72801adb88f2c099bc019bec8fca42c351a96b3f (patch) | |
tree | 98621341b14f4f62a65b8a048aeba00afb8d8f31 | |
parent | 32a116458a77d713521053bd774c98f572d18abe (diff) | |
download | hdf5-72801adb88f2c099bc019bec8fca42c351a96b3f.zip hdf5-72801adb88f2c099bc019bec8fca42c351a96b3f.tar.gz hdf5-72801adb88f2c099bc019bec8fca42c351a96b3f.tar.bz2 |
[svn-r23619] Bug fix: HDFFV-8390
Threadsafe works in v1.8.10 release. But it fails v1.8.11-pre1 tarball in
configure stage now. There was a typo in the configure around the checking
of pthread library. Fixed it.
Tested: AIX and also h5committested.
-rwxr-xr-x | configure | 6 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Id: configure.ac 23586 2013-04-15 00:51:56Z hdftest . +# From configure.ac Id: configure.ac 23605 2013-04-22 00:48:22Z hdftest . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for HDF5 1.8.12-snap2. # @@ -26249,7 +26249,7 @@ fi done - if test "x$HAVE_DMALLOC" = "xyes"; then + if test "x$HAVE_PTHREAD" = "xyes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_self in -lpthread" >&5 $as_echo_n "checking for pthread_self in -lpthread... " >&6; } if ${ac_cv_lib_pthread_pthread_self+:} false; then : @@ -26373,7 +26373,7 @@ done fi - if test "x$HAVE_DMALLOC" = "xyes"; then + if test "x$HAVE_PTHREAD" = "xyes"; then if test -n "$pthread_lib"; then saved_LDFLAGS="$LDFLAGS" saved_AM_LDFLAGS="$AM_LDFLAGS" diff --git a/configure.ac b/configure.ac index bff8b04..2ff93a2 100644 --- a/configure.ac +++ b/configure.ac @@ -1977,7 +1977,7 @@ AC_ARG_WITH([pthread], case "$withval" in yes) AC_CHECK_HEADERS([pthread.h],, [unset HAVE_PTHREAD]) - if test "x$HAVE_DMALLOC" = "xyes"; then + if test "x$HAVE_PTHREAD" = "xyes"; then AC_CHECK_LIB([pthread], [pthread_self],, [unset HAVE_PTHREAD]) fi ;; @@ -2019,7 +2019,7 @@ case "$withval" in AC_CHECK_HEADERS([pthread.h],, [unset HAVE_PTHREAD]) fi - if test "x$HAVE_DMALLOC" = "xyes"; then + if test "x$HAVE_PTHREAD" = "xyes"; then if test -n "$pthread_lib"; then saved_LDFLAGS="$LDFLAGS" saved_AM_LDFLAGS="$AM_LDFLAGS" |