summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2011-11-06 20:56:17 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2011-11-06 20:56:17 (GMT)
commita5994e1fb6787f63ada4e017afdebb89f04a3028 (patch)
tree681384693def056675e0ddf106d648e576eb27dc
parent8c5998340291619d6a47c3d56988563495769fbe (diff)
downloadhdf5-a5994e1fb6787f63ada4e017afdebb89f04a3028.zip
hdf5-a5994e1fb6787f63ada4e017afdebb89f04a3028.tar.gz
hdf5-a5994e1fb6787f63ada4e017afdebb89f04a3028.tar.bz2
[svn-r21722] Reverted part of 20894. Due to big test failure on an older CentOS 4.6 system (compiled with gcc 4.6.2), we will no longer link to the bsd-compat library. Tested on jam (32-bit linux) and koala (64-bit linux). Threadsafe and parallel were also tested on both platforms.
-rwxr-xr-xconfigure5
-rw-r--r--configure.in3
2 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 3f7c653..afafc15 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Id: configure.in 21692 2011-10-30 14:39:32Z hdftest .
+# From configure.in Id: configure.in 21721 2011-11-06 14:02:33Z hdftest .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for HDF5 1.9.98.
#
@@ -22666,8 +22666,7 @@ case "$host_cpu-$host_vendor-$host_os" in
H5_CPPFLAGS="-D_POSIX_C_SOURCE=199506L $H5_CPPFLAGS"
- AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS"
- AM_LDFLAGS="-lbsd-compat $AM_LDFLAGS"
+ AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS"
;;
esac
diff --git a/configure.in b/configure.in
index 00ceb07..3992711 100644
--- a/configure.in
+++ b/configure.in
@@ -1463,8 +1463,9 @@ case "$host_cpu-$host_vendor-$host_os" in
dnl correctly in <stdio.h>
dnl Linking to the bsd-compat library is required as per the gcc manual:
dnl http://www.gnu.org/s/libc/manual/html_node/Feature-Test-Macros.html
+ dnl however, we do not do this since it breaks the big test on some
+ dnl older platforms.
AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS"
- AM_LDFLAGS="-lbsd-compat $AM_LDFLAGS"
;;
esac