From b106502c57ba63a89a05f08444610d01ffefe22f Mon Sep 17 00:00:00 2001 From: Dana Robinson Date: Sat, 5 Sep 2015 17:56:59 -0500 Subject: [svn-r27683] Restored the _POSIX_C_SOURCE flag that had been commented out and modified the fortran/test/ Makefile.am to remove the build error with Intel Fortran. Tested on: h5committest --- configure.ac | 2 +- fortran/test/Makefile.am | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 73d69d4..b12b5b2 100644 --- a/configure.ac +++ b/configure.ac @@ -1060,7 +1060,7 @@ case "$host_cpu-$host_vendor-$host_os" in ## ## POSIX feature information can be found in the gcc manual at: ## http://www.gnu.org/s/libc/manual/html_node/Feature-Test-Macros.html -##SCOT H5_CPPFLAGS="-D_POSIX_C_SOURCE=200112L $H5_CPPFLAGS" + H5_CPPFLAGS="-D_POSIX_C_SOURCE=200112L $H5_CPPFLAGS" ## Need to add this so that O_DIRECT is visible for the direct ## VFD on Linux systems. diff --git a/fortran/test/Makefile.am b/fortran/test/Makefile.am index c12233c..b0f85c5 100644 --- a/fortran/test/Makefile.am +++ b/fortran/test/Makefile.am @@ -45,8 +45,8 @@ libh5test_fortran_la_SOURCES = tf_gen.F90 tf.F90 t.c # Source files are used for both the library and fortranlib_test. # Automake will complain about this without the following workaround. -fortranlib_test_FCFLAGS=$(AM_FCFLAGS) -fortranlib_test_CFLAGS=$(AM_CFLAGS) +#fortranlib_test_FCFLAGS=$(AM_FCFLAGS) +#fortranlib_test_CFLAGS=$(AM_CFLAGS) fortranlib_test_SOURCES = tH5F.F90 tH5D.F90 tH5R.F90 tH5S.F90 tH5T.F90 tH5VL.F90 tH5Z.F90 \ tH5Sselect.F90 tH5P.F90 tH5A.F90 tH5I.F90 tH5G.F90 tH5E.F90 tHDF5.F90 fortranlib_test.F90 -- cgit v0.12