From 3916f4ef4d59da0d8939ec06dcd6dc5079c2cc70 Mon Sep 17 00:00:00 2001 From: Larry Knox Date: Thu, 22 Oct 2009 13:38:21 -0500 Subject: [PATCH] [svn-r17724] Merge change from 1.8 branch to trunk that removes -D_POSIX_SOURCE from CPPFLAGS in h5cc. Tested: amani, jam, linew (h5committest). --- configure | 4 ++-- configure.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index c4b8efd14f..1863310b4a 100755 --- a/configure +++ b/configure @@ -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 d5066ea089..dd55e7bacc 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 defines dnl __USE_POSIX, which is required to get the prototype for fdopen dnl defined correctly in - AM_CPPFLAGS="-D_POSIX_SOURCE $AM_CPPFLAGS" + H5_CPPFLAGS="-D_POSIX_SOURCE $H5_CPPFLAGS" dnl Also add BSD support on Linux systems, so defines dnl __USE_BSD, which is required to get the prototype for strdup