summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2009-10-14 21:43:05 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2009-10-14 21:43:05 (GMT)
commitdc6898fde2cd22db1d409bbd2cc32d0be190a8f8 (patch)
tree7e76b7b8971d98c8575c2f5504e7242893d015d8
parent4463d9b84c08cabe2033edd44d407eeab780fb82 (diff)
downloadhdf5-dc6898fde2cd22db1d409bbd2cc32d0be190a8f8.zip
hdf5-dc6898fde2cd22db1d409bbd2cc32d0be190a8f8.tar.gz
hdf5-dc6898fde2cd22db1d409bbd2cc32d0be190a8f8.tar.bz2
[svn-r17643] Purpose:
Configure / Config File Fixes Description: 1. Made AM_CPPFLAGS assignments in configure a bit safer. (i.e., check to ensure include paths exist before adding them to AM_CPPFLAGS). 2. Change AIX config file to add -D_LARGE_FILES into AM_CXXFLAGS instead of H5_CXXFLAGS (same with *_CFLAGS). This will propagate it into h5c++, where it is needed to compile correctly. 3. Added missing line containing AM_CFLAGS to configure output summary. Tested: h5committest, and uP (AIX machine, via Albert).
-rw-r--r--config/powerpc-ibm-aix5.x5
-rwxr-xr-xconfigure76
-rw-r--r--configure.in68
-rw-r--r--src/libhdf5.settings.in1
4 files changed, 74 insertions, 76 deletions
diff --git a/config/powerpc-ibm-aix5.x b/config/powerpc-ibm-aix5.x
index 7b88d40..45cbd89 100644
--- a/config/powerpc-ibm-aix5.x
+++ b/config/powerpc-ibm-aix5.x
@@ -48,7 +48,7 @@ case $CC_BASENAME in
enable_shared="${enable_shared:-no}"
# Use -D_LARGE_FILES by default to support large file size.
# Make sure this is applied to other API compile options such as C++.
- H5_CFLAGS="-qlanglvl=stdc99 -D_LARGE_FILES $H5_CFLAGS"
+ AM_CFLAGS="-qlanglvl=stdc99 -D_LARGE_FILES $AM_CFLAGS"
DEBUG_CFLAGS="-g -qfullpath"
DEBUG_CPPFLAGS=
# -O causes test/dtypes to fail badly. Turn it off for now.
@@ -163,6 +163,7 @@ CXX=${CXX=xlC}
# Added -qweaksymbol to suppress linker messages warning of duplicate
# symbols; these warnings are harmless. - BMR
# Use -D_LARGE_FILES by default to support large file size.
-H5_CXXFLAGS="$H5_CXXFLAGS -qweaksymbol -D_LARGE_FILES"
+H5_CXXFLAGS="$H5_CXXFLAGS -qweaksymbol"
+AM_CXXFLAGS="$AM_CXXFLAGS -D_LARGE_FILES"
diff --git a/configure b/configure
index d07c779..4d32a95 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Id: configure.in 17628 2009-10-11 12:49:32Z lrknox .
+# From configure.in Id: configure.in 17639 2009-10-13 21:55:21Z mamcgree .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.64 for HDF5 1.9.49.
#
@@ -23213,10 +23213,13 @@ $as_echo "suppressed" >&6; }
fi
saved_CPPFLAGS="$CPPFLAGS"
+ saved_AM_CPPFLAGS="$AM_CPPFLAGS"
saved_LDFLAGS="$LDFLAGS"
+ saved_AM_LDFLAGS="$AM_LDFLAGS"
if test -n "$dmalloc_inc"; then
CPPFLAGS="$CPPFLAGS -I$dmalloc_inc"
+ AM_CPPFLAGS="$AM_CPPFLAGS -I$dmalloc_inc"
fi
for ac_header in dmalloc.h
@@ -23226,9 +23229,9 @@ if test "x$ac_cv_header_dmalloc_h" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_DMALLOC_H 1
_ACEOF
- AM_CPPFLAGS="$AM_CPPFLAGS -I$dmalloc_inc"
+
else
- CPPFLAGS="$saved_CPPFLAGS"
+ CPPFLAGS="$saved_CPPFLAGS"; AM_CPPFLAGS="$saved_AM_CPPFLAGS"
fi
done
@@ -23236,6 +23239,7 @@ done
if test -n "$dmalloc_lib"; then
LDFLAGS="$LDFLAGS -L$dmalloc_lib"
+ AM_LDFLAGS="$AM_LDFLAGS -L$dmalloc_lib"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -ldmalloc" >&5
@@ -23290,14 +23294,10 @@ _ACEOF
LIBS="-ldmalloc $LIBS"
else
- LDFLAGS="$saved_LDFLAGS"; unset HAVE_DMALLOC
+ LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset HAVE_DMALLOC
fi
- if test -n "$HAVE_DMALLOC" -a -n "$dmalloc_lib"; then
- AM_LDFLAGS="$AM_LDFLAGS -L$dmalloc_lib"
- fi
-
if test -z "$HAVE_DMALLOC" -a -n "$HDF5_CONFIG_ABORT"; then
as_fn_error "couldn't find dmalloc library" "$LINENO" 5
fi
@@ -23424,10 +23424,13 @@ $as_echo "suppressed" >&6; }
fi
saved_CPPFLAGS="$CPPFLAGS"
+ saved_AM_CPPFLAGS="$AM_CPPFLAGS"
saved_LDFLAGS="$LDFLAGS"
+ saved_AM_LDFLAGS="$AM_LDFLAGS"
if test -n "$zlib_inc"; then
CPPFLAGS="$CPPFLAGS -I$zlib_inc"
+ AM_CPPFLAGS="$AM_CPPFLAGS -I$zlib_inc"
fi
for ac_header in zlib.h
@@ -23437,9 +23440,9 @@ if test "x$ac_cv_header_zlib_h" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_ZLIB_H 1
_ACEOF
- HAVE_ZLIB_H="yes"; AM_CPPFLAGS="$AM_CPPFLAGS -I$zlib_inc"
+ HAVE_ZLIB_H="yes"
else
- CPPFLAGS="$saved_CPPFLAGS"
+ CPPFLAGS="$saved_CPPFLAGS"; AM_CPPFLAGS="$saved_AM_CPPFLAGS"
fi
done
@@ -23447,6 +23450,7 @@ done
if test -n "$zlib_lib"; then
LDFLAGS="$LDFLAGS -L$zlib_lib"
+ AM_LDFLAGS="$AM_LDFLAGS -L$zlib_lib"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress2 in -lz" >&5
@@ -23501,7 +23505,7 @@ _ACEOF
LIBS="-lz $LIBS"
else
- LDFLAGS="$saved_LDFLAGS"; unset HAVE_ZLIB
+ LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset HAVE_ZLIB
fi
ac_fn_c_check_func "$LINENO" "compress2" "ac_cv_func_compress2"
@@ -23510,10 +23514,6 @@ if test "x$ac_cv_func_compress2" = x""yes; then :
fi
- if test -n "$HAVE_ZLIB" -a -n "$zlib_lib"; then
- AM_LDFLAGS="$AM_LDFLAGS -L$zlib_lib"
- fi
-
if test -z "$HAVE_ZLIB" -a -n "$HDF5_CONFIG_ABORT"; then
as_fn_error "couldn't find zlib library" "$LINENO" 5
fi
@@ -23648,10 +23648,13 @@ $as_echo "suppressed" >&6; }
fi
saved_CPPFLAGS="$CPPFLAGS"
+ saved_AM_CPPFLAGS="$AM_CPPFLAGS"
saved_LDFLAGS="$LDFLAGS"
+ saved_AM_LDFLAGS="$AM_LDFLAGS"
if test -n "$szlib_inc"; then
CPPFLAGS="$CPPFLAGS -I$szlib_inc"
+ AM_CPPFLAGS="$AM_CPPFLAGS -I$szlib_inc"
fi
for ac_header in szlib.h
@@ -23661,9 +23664,9 @@ if test "x$ac_cv_header_szlib_h" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_SZLIB_H 1
_ACEOF
- HAVE_SZLIB_H="yes"; AM_CPPFLAGS="$AM_CPPFLAGS -I$szlib_inc"
+ HAVE_SZLIB_H="yes"
else
- CPPFLAGS="$saved_CPPFLAGS"
+ CPPFLAGS="$saved_CPPFLAGS"; AM_CPPFLAGS="$saved_AM_CPPFLAGS"
fi
done
@@ -23671,6 +23674,7 @@ done
if test -n "$szlib_lib"; then
LDFLAGS="$LDFLAGS -L$szlib_lib"
+ AM_LDFLAGS="$AM_LDFLAGS -L$szlib_lib"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SZ_BufftoBuffCompress in -lsz" >&5
@@ -23725,14 +23729,10 @@ _ACEOF
LIBS="-lsz $LIBS"
else
- LDFLAGS="$saved_LDFLAGS"; unset HAVE_SZLIB
+ LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset HAVE_SZLIB
fi
- if test -n "$HAVE_SZLIB" -a -n "$szlib_lib"; then
- AM_LDFLAGS="$AM_LDFLAGS -L$szlib_lib"
- fi
-
if test -z "$HAVE_SZLIB" -a -n "$HDF5_CONFIG_ABORT"; then
as_fn_error "couldn't find szlib library" "$LINENO" 5
fi
@@ -24010,7 +24010,9 @@ $as_echo "suppressed" >&6; }
if test -n "$pthread_inc"; then
saved_CPPFLAGS="$CPPFLAGS"
+ saved_AM_CPPFLAGS="$AM_CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I$pthread_inc"
+ AM_CPPFLAGS="$AM_CPPFLAGS -I$pthread_inc"
for ac_header in pthread.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
@@ -24018,14 +24020,13 @@ if test "x$ac_cv_header_pthread_h" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_PTHREAD_H 1
_ACEOF
- AM_CPPFLAGS="$AM_CPPFLAGS -I$pthread_inc"
+
else
- unset PTHREAD
+ CPPFLAGS="$saved_CPPFLAGS"; AM_CPPFLAGS="$saved_AM_CPPFLAGS"; unset PTHREAD
fi
done
- CPPFLAGS="$saved_CPPFLAGS"
else
for ac_header in pthread.h
do :
@@ -24045,7 +24046,9 @@ done
if test -n "$pthread_lib"; then
saved_LDFLAGS="$LDFLAGS"
+ saved_AM_LDFLAGS="$AM_LDFLAGS"
LDFLAGS="$LDFLAGS -L$pthread_lib"
+ AM_LDFLAGS="$AM_LDFLAGS -L$pthread_lib"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
@@ -24098,14 +24101,10 @@ _ACEOF
LIBS="-lpthread $LIBS"
else
- LDFLAGS="$saved_LDFLAGS"; unset PTHREAD
+ LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset PTHREAD
fi
- if test -n "$PTHREAD"; then
- AM_LDFLAGS="$AM_LDFLAGS -L$pthread_lib"
- fi
-
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
@@ -26334,7 +26333,9 @@ fi
if test -n "$mpe_inc"; then
saved_CPPFLAGS="$CPPFLAGS"
+ saved_AM_CPPFLAGS="$AM_CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I$mpe_inc"
+ AM_CPPFLAGS="$AM_CPPFLAGS -I$mpe_inc"
for ac_header in mpe.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "mpe.h" "ac_cv_header_mpe_h" "$ac_includes_default"
@@ -26342,14 +26343,13 @@ if test "x$ac_cv_header_mpe_h" = x""yes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_MPE_H 1
_ACEOF
- AM_CPPFLAGS="$AM_CPPFLAGS -I$mpe_inc"
+
else
- unset MPE
+ CPPFLAGS="$saved_CPPFLAGS"; AM_CPPFLAGS="$saved_AM_CPPFLAGS"; unset MPE
fi
done
- CPPFLAGS="$saved_CPPFLAGS"
else
for ac_header in mpe.h
do :
@@ -26369,7 +26369,9 @@ done
if test -n "$mpe_lib"; then
saved_LDFLAGS="$LDFLAGS"
+ saved_AM_LDFLAGS="$AM_LDFLAGS"
LDFLAGS="$LDFLAGS -L$mpe_lib"
+ AM_LDFLAGS="$AM_LDFLAGS -L$mpe_lib"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPE_Init_log in -lmpe" >&5
$as_echo_n "checking for MPE_Init_log in -lmpe... " >&6; }
if test "${ac_cv_lib_mpe_MPE_Init_log+set}" = set; then :
@@ -26422,7 +26424,7 @@ _ACEOF
LIBS="-lmpe $LIBS"
else
- LDFLAGS="$saved_LDFLAGS"; unset MPE
+ LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset MPE
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLOG_Init in -llmpe" >&5
@@ -26477,14 +26479,10 @@ _ACEOF
LIBS="-llmpe $LIBS"
else
- LDFLAGS="$saved_LDFLAGS"; unset MPE
+ LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset MPE
fi
- if test -n "$MPE"; then
- AM_LDFLAGS="$AM_LDFLAGS -L$mpe_lib"
- fi
-
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPE_Init_log in -lmpe" >&5
$as_echo_n "checking for MPE_Init_log in -lmpe... " >&6; }
diff --git a/configure.in b/configure.in
index c9d8e3f..806f8b8 100644
--- a/configure.in
+++ b/configure.in
@@ -1488,23 +1488,23 @@ case $withval in
fi
saved_CPPFLAGS="$CPPFLAGS"
+ saved_AM_CPPFLAGS="$AM_CPPFLAGS"
saved_LDFLAGS="$LDFLAGS"
+ saved_AM_LDFLAGS="$AM_LDFLAGS"
if test -n "$dmalloc_inc"; then
CPPFLAGS="$CPPFLAGS -I$dmalloc_inc"
+ AM_CPPFLAGS="$AM_CPPFLAGS -I$dmalloc_inc"
fi
- AC_CHECK_HEADERS(dmalloc.h, AM_CPPFLAGS="$AM_CPPFLAGS -I$dmalloc_inc",CPPFLAGS="$saved_CPPFLAGS")
+ AC_CHECK_HEADERS(dmalloc.h,,CPPFLAGS="$saved_CPPFLAGS"; AM_CPPFLAGS="$saved_AM_CPPFLAGS")
if test -n "$dmalloc_lib"; then
LDFLAGS="$LDFLAGS -L$dmalloc_lib"
+ AM_LDFLAGS="$AM_LDFLAGS -L$dmalloc_lib"
fi
- AC_CHECK_LIB(dmalloc, dmalloc_shutdown,, LDFLAGS="$saved_LDFLAGS"; unset HAVE_DMALLOC)
-
- if test -n "$HAVE_DMALLOC" -a -n "$dmalloc_lib"; then
- AM_LDFLAGS="$AM_LDFLAGS -L$dmalloc_lib"
- fi
+ AC_CHECK_LIB(dmalloc, dmalloc_shutdown,, LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset HAVE_DMALLOC)
if test -z "$HAVE_DMALLOC" -a -n "$HDF5_CONFIG_ABORT"; then
AC_MSG_ERROR(couldn't find dmalloc library)
@@ -1566,28 +1566,28 @@ case $withval in
fi
saved_CPPFLAGS="$CPPFLAGS"
+ saved_AM_CPPFLAGS="$AM_CPPFLAGS"
saved_LDFLAGS="$LDFLAGS"
+ saved_AM_LDFLAGS="$AM_LDFLAGS"
if test -n "$zlib_inc"; then
CPPFLAGS="$CPPFLAGS -I$zlib_inc"
+ AM_CPPFLAGS="$AM_CPPFLAGS -I$zlib_inc"
fi
AC_CHECK_HEADERS([zlib.h],
- [HAVE_ZLIB_H="yes"; AM_CPPFLAGS="$AM_CPPFLAGS -I$zlib_inc"],
- [CPPFLAGS="$saved_CPPFLAGS"])
+ [HAVE_ZLIB_H="yes"],
+ [CPPFLAGS="$saved_CPPFLAGS"; AM_CPPFLAGS="$saved_AM_CPPFLAGS"])
if test -n "$zlib_lib"; then
LDFLAGS="$LDFLAGS -L$zlib_lib"
+ AM_LDFLAGS="$AM_LDFLAGS -L$zlib_lib"
fi
AC_CHECK_LIB([z], [compress2],,
- [LDFLAGS="$saved_LDFLAGS"; unset HAVE_ZLIB])
+ [LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset HAVE_ZLIB])
AC_CHECK_FUNC([compress2], [HAVE_COMPRESS2="yes"])
- if test -n "$HAVE_ZLIB" -a -n "$zlib_lib"; then
- AM_LDFLAGS="$AM_LDFLAGS -L$zlib_lib"
- fi
-
if test -z "$HAVE_ZLIB" -a -n "$HDF5_CONFIG_ABORT"; then
AC_MSG_ERROR([couldn't find zlib library])
fi
@@ -1659,27 +1659,27 @@ case $withval in
fi
saved_CPPFLAGS="$CPPFLAGS"
+ saved_AM_CPPFLAGS="$AM_CPPFLAGS"
saved_LDFLAGS="$LDFLAGS"
+ saved_AM_LDFLAGS="$AM_LDFLAGS"
if test -n "$szlib_inc"; then
CPPFLAGS="$CPPFLAGS -I$szlib_inc"
+ AM_CPPFLAGS="$AM_CPPFLAGS -I$szlib_inc"
fi
AC_CHECK_HEADERS([szlib.h],
- [HAVE_SZLIB_H="yes"; AM_CPPFLAGS="$AM_CPPFLAGS -I$szlib_inc"],
- [CPPFLAGS="$saved_CPPFLAGS"])
+ [HAVE_SZLIB_H="yes"],
+ [CPPFLAGS="$saved_CPPFLAGS"; AM_CPPFLAGS="$saved_AM_CPPFLAGS"])
if test -n "$szlib_lib"; then
LDFLAGS="$LDFLAGS -L$szlib_lib"
+ AM_LDFLAGS="$AM_LDFLAGS -L$szlib_lib"
fi
AC_CHECK_LIB([sz], [SZ_BufftoBuffCompress],,
- [LDFLAGS="$saved_LDFLAGS"; unset HAVE_SZLIB])
+ [LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset HAVE_SZLIB])
- if test -n "$HAVE_SZLIB" -a -n "$szlib_lib"; then
- AM_LDFLAGS="$AM_LDFLAGS -L$szlib_lib"
- fi
-
if test -z "$HAVE_SZLIB" -a -n "$HDF5_CONFIG_ABORT"; then
AC_MSG_ERROR([couldn't find szlib library])
fi
@@ -1795,22 +1795,21 @@ case "$withval" in
if test -n "$pthread_inc"; then
saved_CPPFLAGS="$CPPFLAGS"
+ saved_AM_CPPFLAGS="$AM_CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I$pthread_inc"
- AC_CHECK_HEADERS([pthread.h],AM_CPPFLAGS="$AM_CPPFLAGS -I$pthread_inc", [unset PTHREAD])
- CPPFLAGS="$saved_CPPFLAGS"
+ AM_CPPFLAGS="$AM_CPPFLAGS -I$pthread_inc"
+ AC_CHECK_HEADERS([pthread.h],, [CPPFLAGS="$saved_CPPFLAGS"; AM_CPPFLAGS="$saved_AM_CPPFLAGS"; unset PTHREAD])
else
AC_CHECK_HEADERS([pthread.h],, [unset PTHREAD])
fi
if test -n "$pthread_lib"; then
saved_LDFLAGS="$LDFLAGS"
+ saved_AM_LDFLAGS="$AM_LDFLAGS"
LDFLAGS="$LDFLAGS -L$pthread_lib"
+ AM_LDFLAGS="$AM_LDFLAGS -L$pthread_lib"
AC_CHECK_LIB([pthread], [pthread_create],,
- [LDFLAGS="$saved_LDFLAGS"; unset PTHREAD])
-
- if test -n "$PTHREAD"; then
- AM_LDFLAGS="$AM_LDFLAGS -L$pthread_lib"
- fi
+ [LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset PTHREAD])
else
AC_CHECK_LIB([pthread], [pthread_create],, [unset PTHREAD])
@@ -2657,24 +2656,23 @@ if test -n "$PARALLEL"; then
if test -n "$mpe_inc"; then
saved_CPPFLAGS="$CPPFLAGS"
+ saved_AM_CPPFLAGS="$AM_CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I$mpe_inc"
- AC_CHECK_HEADERS([mpe.h],AM_CPPFLAGS="$AM_CPPFLAGS -I$mpe_inc", [unset MPE])
- CPPFLAGS="$saved_CPPFLAGS"
+ AM_CPPFLAGS="$AM_CPPFLAGS -I$mpe_inc"
+ AC_CHECK_HEADERS([mpe.h],, [CPPFLAGS="$saved_CPPFLAGS"; AM_CPPFLAGS="$saved_AM_CPPFLAGS"; unset MPE])
else
AC_CHECK_HEADERS([mpe.h],, [unset MPE])
fi
if test -n "$mpe_lib"; then
saved_LDFLAGS="$LDFLAGS"
+ saved_AM_LDFLAGS="$AM_LDFLAGS"
LDFLAGS="$LDFLAGS -L$mpe_lib"
+ AM_LDFLAGS="$AM_LDFLAGS -L$mpe_lib"
AC_CHECK_LIB([mpe], [MPE_Init_log],,
- [LDFLAGS="$saved_LDFLAGS"; unset MPE])
+ [LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset MPE])
AC_CHECK_LIB([lmpe], [CLOG_Init],,
- [LDFLAGS="$saved_LDFLAGS"; unset MPE])
-
- if test -n "$MPE"; then
- AM_LDFLAGS="$AM_LDFLAGS -L$mpe_lib"
- fi
+ [LDFLAGS="$saved_LDFLAGS"; AM_LDFLAGS="$saved_AM_LDFLAGS"; unset MPE])
else
AC_CHECK_LIB([mpe], [MPE_Init_log],, [unset MPE])
diff --git a/src/libhdf5.settings.in b/src/libhdf5.settings.in
index e194c0a..a3032e5 100644
--- a/src/libhdf5.settings.in
+++ b/src/libhdf5.settings.in
@@ -19,6 +19,7 @@ Compiling Options:
C Compiler: @CC_VERSION@
CFLAGS: @CFLAGS@
H5_CFLAGS: @H5_CFLAGS@
+ AM_CFLAGS: @AM_CFLAGS@
CPPFLAGS: @CPPFLAGS@
H5_CPPFLAGS: @H5_CPPFLAGS@
AM_CPPFLAGS: @AM_CPPFLAGS@