From a5994e1fb6787f63ada4e017afdebb89f04a3028 Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Sun, 6 Nov 2011 15:56:17 -0500 Subject: [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. --- configure | 5 ++--- configure.in | 3 ++- 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 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 -- cgit v0.12