[svn-r17724] Merge change from 1.8 branch to trunk that removes -D_POSIX_SOURCE from CPPFLAGS in h5cc.

Tested:  amani, jam, linew (h5committest).
This commit is contained in:
Larry Knox 2009-10-22 13:38:21 -05:00
parent db13a048a8
commit 3916f4ef4d
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@ -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"
;;

View File

@ -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