summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2009-10-17 20:46:19 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2009-10-17 20:46:19 (GMT)
commit1825d962dfe90fdb246ea5d97c124aa952c57369 (patch)
tree1198f7decd61856e580d4256b0d5116fd841a69a
parent11155cf5c356dfc3bbc382f320c6c7fd294b3f22 (diff)
downloadhdf5-1825d962dfe90fdb246ea5d97c124aa952c57369.zip
hdf5-1825d962dfe90fdb246ea5d97c124aa952c57369.tar.gz
hdf5-1825d962dfe90fdb246ea5d97c124aa952c57369.tar.bz2
[svn-r17665] Remove -D_POSIX_SOURCE from CPPFLAGS in h5cc. This flag breaks netcdf4 when compiling with h5cc and is not missed by hdf5-examples or hdfeos5.
Tested: jam.
-rwxr-xr-xconfigure4
-rw-r--r--configure.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 04a3ee9..2497975 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Id: configure.in 17655 2009-10-15 21:53:23Z mamcgree .
+# From configure.in Id: configure.in 17664 2009-10-16 20:21:12Z mamcgree .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.64 for HDF5 1.8.3-snap13.
#
@@ -21172,7 +21172,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 2ecc3d6..40bf03f 100644
--- a/configure.in
+++ b/configure.in
@@ -1284,7 +1284,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