diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2009-10-22 18:38:21 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2009-10-22 18:38:21 (GMT) |
commit | 3916f4ef4d59da0d8939ec06dcd6dc5079c2cc70 (patch) | |
tree | 7a0bce963e9b8f3c1806fb59187e01381a0f98d8 | |
parent | db13a048a8145968b629884cbc4a9b13ba8b93d7 (diff) | |
download | hdf5-3916f4ef4d59da0d8939ec06dcd6dc5079c2cc70.zip hdf5-3916f4ef4d59da0d8939ec06dcd6dc5079c2cc70.tar.gz hdf5-3916f4ef4d59da0d8939ec06dcd6dc5079c2cc70.tar.bz2 |
[svn-r17724] Merge change from 1.8 branch to trunk that removes -D_POSIX_SOURCE from CPPFLAGS in h5cc.
Tested: amani, jam, linew (h5committest).
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 17670 2009-10-18 16:40:34Z lrknox . +# From configure.in Id: configure.in 17675 2009-10-19 03:05:25Z mamcgree . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.64 for HDF5 1.9.50. # @@ -21187,7 +21187,7 @@ $as_echo "enabled" >&6; } $as_echo "disabled" >&6; } fi - AM_CPPFLAGS="-D_POSIX_SOURCE $AM_CPPFLAGS" + H5_CPPFLAGS="-D_POSIX_SOURCE $H5_CPPFLAGS" AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS" ;; diff --git a/configure.in b/configure.in index d5066ea..dd55e7b 100644 --- a/configure.in +++ b/configure.in @@ -1301,7 +1301,7 @@ case "$host_cpu-$host_vendor-$host_os" in dnl Add POSIX support on Linux systems, so <features.h> defines dnl __USE_POSIX, which is required to get the prototype for fdopen dnl defined correctly in <stdio.h> - AM_CPPFLAGS="-D_POSIX_SOURCE $AM_CPPFLAGS" + H5_CPPFLAGS="-D_POSIX_SOURCE $H5_CPPFLAGS" dnl Also add BSD support on Linux systems, so <features.h> defines dnl __USE_BSD, which is required to get the prototype for strdup |