summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-03-14 20:35:55 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-03-14 20:35:55 (GMT)
commitfbcc3e84c0ca87fdd528afe74bf730618d4b23e5 (patch)
tree08f75e330d0f4c52314b88fdcc48f6e43be5549e
parent49fa4563ef21009a05c11da5e05d0e71d2c24366 (diff)
downloadhdf5-fbcc3e84c0ca87fdd528afe74bf730618d4b23e5.zip
hdf5-fbcc3e84c0ca87fdd528afe74bf730618d4b23e5.tar.gz
hdf5-fbcc3e84c0ca87fdd528afe74bf730618d4b23e5.tar.bz2
[svn-r10215] Purpose:
Configure feature Description: On some platforms with some compilers, automake's dependency tracking is silently disabled. This can be confusing for developers. Solution: Set configure to enable dependencies all the time unless the user explicitly disables them (using the configure flag --disable-dependency-tracking) or a site file overrides the default (as is the case on IRIX). Platforms tested: sleipnir, mir
-rwxr-xr-xconfigure62
-rw-r--r--configure.in9
-rw-r--r--src/H5config.h.in4
3 files changed, 44 insertions, 31 deletions
diff --git a/configure b/configure
index e5111f4..a27842e 100755
--- a/configure
+++ b/configure
@@ -2274,6 +2274,10 @@ echo "${ECHO_T}no" >&6
test "$hname_tmp" = "$hname" && break
done
+if test -z "${enable_dependency_tracking}"; then
+ enable_dependency_tracking="yes"
+fi
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -3502,7 +3506,7 @@ fi
# Provide some information about the compiler.
-echo "$as_me:3505:" \
+echo "$as_me:3509:" \
"checking for Fortran compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@@ -5557,7 +5561,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 5560 "configure"' > conftest.$ac_ext
+ echo '#line 5564 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -6671,7 +6675,7 @@ fi
# Provide some information about the compiler.
-echo "$as_me:6674:" \
+echo "$as_me:6678:" \
"checking for Fortran 77 compiler version" >&5
ac_compiler=`set X $ac_compile; echo $2`
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@@ -7740,11 +7744,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7743: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7747: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7747: \$? = $ac_status" >&5
+ echo "$as_me:7751: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -7995,11 +7999,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7998: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8002: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:8002: \$? = $ac_status" >&5
+ echo "$as_me:8006: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -8055,11 +8059,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:8058: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8062: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:8062: \$? = $ac_status" >&5
+ echo "$as_me:8066: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -10255,7 +10259,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 10258 "configure"
+#line 10262 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10353,7 +10357,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 10356 "configure"
+#line 10360 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12573,11 +12577,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:12576: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:12580: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:12580: \$? = $ac_status" >&5
+ echo "$as_me:12584: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -12633,11 +12637,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:12636: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:12640: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:12640: \$? = $ac_status" >&5
+ echo "$as_me:12644: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -13996,7 +14000,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 13999 "configure"
+#line 14003 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -14094,7 +14098,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 14097 "configure"
+#line 14101 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -14949,11 +14953,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14952: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14956: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:14956: \$? = $ac_status" >&5
+ echo "$as_me:14960: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -15009,11 +15013,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:15012: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:15016: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:15016: \$? = $ac_status" >&5
+ echo "$as_me:15020: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -17065,11 +17069,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:17068: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:17072: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:17072: \$? = $ac_status" >&5
+ echo "$as_me:17076: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -17320,11 +17324,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:17323: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:17327: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:17327: \$? = $ac_status" >&5
+ echo "$as_me:17331: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
@@ -17380,11 +17384,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:17383: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:17387: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:17387: \$? = $ac_status" >&5
+ echo "$as_me:17391: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -19580,7 +19584,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 19583 "configure"
+#line 19587 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -19678,7 +19682,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 19681 "configure"
+#line 19685 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/configure.in b/configure.in
index 0f3b753..473d23b 100644
--- a/configure.in
+++ b/configure.in
@@ -243,6 +243,15 @@ while test -n "$hname"; do
done
dnl ----------------------------------------------------------------------
+dnl Enable dependency tracking unless the configure options or a
+dnl site-specific file told us not to. This prevents configure from
+dnl silently disabling dependencies for some compilers.
+dnl
+if test -z "${enable_dependency_tracking}"; then
+ enable_dependency_tracking="yes"
+fi
+
+dnl ----------------------------------------------------------------------
dnl Check for programs.
dnl
AC_PROG_CC
diff --git a/src/H5config.h.in b/src/H5config.h.in
index 2092ad0..51b6b58 100644
--- a/src/H5config.h.in
+++ b/src/H5config.h.in
@@ -349,8 +349,8 @@
/* Define if `__tm_gmtoff' is a member of `struct tm' */
#undef HAVE___TM_GMTOFF
-/* Define if your system can handle complicated MPI derived datype correctly.
- */
+/* Define if your system can handle complicated MPI derived datatype
+ correctly. */
#undef MPI_COMPLEX_DERIVED_DATATYPE_WORKS
/* Define if your system's `MPI_File_set_size' function works for files over