diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-03-09 02:11:17 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-03-09 02:11:17 (GMT) |
commit | aae529f0273eae9c5ffce301ce46054c557d2613 (patch) | |
tree | 958f6ebcd488f56cf11b69fe428b83ae4d4c9fee /configure | |
parent | 6cddc62b70e64153e791f0ee99b952ce0799b74d (diff) | |
download | hdf5-aae529f0273eae9c5ffce301ce46054c557d2613.zip hdf5-aae529f0273eae9c5ffce301ce46054c557d2613.tar.gz hdf5-aae529f0273eae9c5ffce301ce46054c557d2613.tar.bz2 |
[svn-r26393] Merges r26347 and r26363 from trunk
Moves the _POSIX_C_SOURCE, _GNU_SOURCE, and _BSD_SOURCE from AM_CPPFLAGS
to H5_CPPFLAGS in the Autotools configure scripts. This prevents them
from being exported to h5cc, etc. which is inappropriate since they
may interfere with other code.
Fixes: HDFFV-9152
Tested on: h5committest
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Id: configure.ac 26358 2015-03-04 18:15:04Z lrknox . +# From configure.ac Id: configure.ac 26391 2015-03-08 23:36:10Z hdftest . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for HDF5 1.8.15-snap12. # @@ -23121,7 +23121,7 @@ case "$host_cpu-$host_vendor-$host_os" in ## Need to add this so that O_DIRECT is visible for the direct ## VFD on Linux systems. - AM_CPPFLAGS="-D_GNU_SOURCE $AM_CPPFLAGS" + H5_CPPFLAGS="-D_GNU_SOURCE $H5_CPPFLAGS" ## Also add BSD support on Linux systems, so <features.h> defines ## __USE_BSD, which is required to get the prototype for strdup @@ -23131,7 +23131,7 @@ case "$host_cpu-$host_vendor-$host_os" in ## http://www.gnu.org/s/libc/manual/html_node/Feature-Test-Macros.html ## however, we do not do this since it breaks the big test on some ## older platforms. - AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS" + H5_CPPFLAGS="-D_BSD_SOURCE $H5_CPPFLAGS" ;; esac |