summaryrefslogtreecommitdiffstats
path: root/configure.in
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 /configure.in
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.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
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