summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-07-08 18:41:04 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-07-08 18:41:04 (GMT)
commit768b7465a19afcbc87ba54a7b6400492d54c2626 (patch)
tree67d1e32adcfdbf0905189ff3ca1d60c2c40a6b1a /configure
parent1ce18a997166808519476b505f5bb0c4f34e1ea0 (diff)
downloadhdf5-768b7465a19afcbc87ba54a7b6400492d54c2626.zip
hdf5-768b7465a19afcbc87ba54a7b6400492d54c2626.tar.gz
hdf5-768b7465a19afcbc87ba54a7b6400492d54c2626.tar.bz2
[svn-r471] Changes since 19980708
---------------------- ./MANIFEST Alphabetized. `d' comes before `e' :-) ./bin/release Added the `-batch' option which causes the script to not ask questions and to automatically update the minor version number and set the patch level back to `a'. This is intended to be used for the daily snapshots: #! /bin/sh set -e cd ~/hdf5 make distclean make test bin/release -batch tar compress gzip bzip2 mv ./releases/* /repository ./src/H5Z.c Removed warnings about unused variables when the zlib.h header file is present but libz.a isn't. ./INSTALL ./configure.in ./doc/html/tracing.html Made API tracing the default (you still need to define the HDF5_TRACE environment variable to get results) and change the name from `--disable-tracing' to `--disable-trace' to make it consistent with the other switches. Changed `site config file' to `host config file' to match the documentation. ./doc/html/H5.user.html Added a reference to the `tracing.html' file.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure50
1 files changed, 27 insertions, 23 deletions
diff --git a/configure b/configure
index 4acf126..4e0704b 100755
--- a/configure
+++ b/configure
@@ -27,7 +27,7 @@ ac_help="$ac_help
without the leading H5 or the word no. The default
is most packages."
ac_help="$ac_help
---enable-tracing Cause the library to trace all API calls"
+--disable-trace Disable API tracing capability"
ac_help="$ac_help
--enable-parallel=mpio Enable parallel support with MPIO"
@@ -605,9 +605,9 @@ fi
-echo $ac_n "checking for site config file""... $ac_c" 1>&6
-echo "configure:610: checking for site config file" >&5
-site_config="none"
+echo $ac_n "checking for host config file""... $ac_c" 1>&6
+echo "configure:610: checking for host config file" >&5
+host_config="none"
for f in $host \
$host_vendor-$host_os \
$host_cpu-$host_os \
@@ -616,13 +616,13 @@ for f in $host \
$host_vendor \
$host_cpu ; do
if test -f config/$f; then
- site_config=config/$f
+ host_config=config/$f
break
fi
done
-echo "$ac_t""$site_config" 1>&6
-if test $site_config != "none"; then
- . $site_config
+echo "$ac_t""$host_config" 1>&6
+if test $host_config != "none"; then
+ . $host_config
fi
@@ -2245,17 +2245,21 @@ fi
echo $ac_n "checking for API tracing""... $ac_c" 1>&6
echo "configure:2248: checking for API tracing" >&5;
-# Check whether --enable-tracing or --disable-tracing was given.
-if test "${enable_tracing+set}" = set; then
- enableval="$enable_tracing"
- CPPFLAGS="$CPPFLAGS -DH5_DEBUG_API"
- echo "$ac_t""yes" 1>&6
-else
- CPPFLAGS="$CPPFLAGS -UH5_DEBUG_API"
- echo "$ac_t""no" 1>&6
+# Check whether --enable-trace or --disable-trace was given.
+if test "${enable_trace+set}" = set; then
+ enableval="$enable_trace"
+ TRACE=$enableval
fi
+if test X = "X$TRACE" -o Xyes = "X$TRACE"; then
+ echo "$ac_t""yes" 1>&6
+ CPPFLAGS="$CPPFLAGS -DH5_DEBUG_API"
+else
+ echo "$ac_t""no" 1>&6
+ CPPFLAGS="$CPPFLAGS -UH5_DEBUG_API"
+fi
+
# Check whether --enable-parallel or --disable-parallel was given.
if test "${enable_parallel+set}" = set; then
enableval="$enable_parallel"
@@ -2263,7 +2267,7 @@ if test "${enable_parallel+set}" = set; then
fi
echo $ac_n "checking for parallel support""... $ac_c" 1>&6
-echo "configure:2267: checking for parallel support" >&5;
+echo "configure:2271: checking for parallel support" >&5;
case "X-$PARALLEL" in
@@ -2288,7 +2292,7 @@ EOF
CFLAGS="$CFLAGS $MPI_LIB"
RUNTEST="$RUNTEST"
echo $ac_n "checking for main in -lmpi""... $ac_c" 1>&6
-echo "configure:2292: checking for main in -lmpi" >&5
+echo "configure:2296: checking for main in -lmpi" >&5
ac_lib_var=`echo mpi'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -2296,14 +2300,14 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lmpi $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2300 "configure"
+#line 2304 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
-if { (eval echo configure:2307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -2330,7 +2334,7 @@ else
echo "$ac_t""no" 1>&6
fi
echo $ac_n "checking for main in -lmpio""... $ac_c" 1>&6
-echo "configure:2334: checking for main in -lmpio" >&5
+echo "configure:2338: checking for main in -lmpio" >&5
ac_lib_var=`echo mpio'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -2338,14 +2342,14 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lmpio $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2342 "configure"
+#line 2346 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
-if { (eval echo configure:2349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else