mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[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:
parent
db13a048a8
commit
3916f4ef4d
4
configure
vendored
4
configure
vendored
@ -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"
|
||||
;;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user