mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-07 16:37:56 +08:00
[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.
This commit is contained in:
parent
8c59983402
commit
a5994e1fb6
5
configure
vendored
5
configure
vendored
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user