summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-09-18 15:05:42 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-09-18 15:05:42 (GMT)
commitdefaf9ac4f21d9958a2c60158f26fa1a6f257147 (patch)
tree3e1ca11f9047fd58c99e080d579cc841b7606099 /configure.in
parenta70c5b5a0ed06391894be09a44eac855780a3cc1 (diff)
downloadhdf5-defaf9ac4f21d9958a2c60158f26fa1a6f257147.zip
hdf5-defaf9ac4f21d9958a2c60158f26fa1a6f257147.tar.gz
hdf5-defaf9ac4f21d9958a2c60158f26fa1a6f257147.tar.bz2
[svn-r4454]
Purpose: Feature Fix Description: Reworked the output summary to be clearer and better organized. Platforms tested: Linux
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in150
1 files changed, 50 insertions, 100 deletions
diff --git a/configure.in b/configure.in
index da60d43..2f25b8a 100644
--- a/configure.in
+++ b/configure.in
@@ -1803,15 +1803,31 @@ cat >> src/H5config.h <<EOF
EOF
PRINT() {
- SPACES=" "
- msg="$SPACES $1: "
- msg_len="`echo \"$msg\" | wc -c | sed -e 's/ //g'`"
- let "begin_msg=$msg_len-33"
- echo "$msg" | cut -c$begin_msg- | tr -d '\012'
+ SPACES=" "
+ msg="$SPACES $1: "
+ msg_len="`echo \"$msg\" | wc -c | sed -e 's/ //g'`"
+ let "begin_msg=$msg_len-34"
+ echo "$msg" | cut -c$begin_msg- | tr -d '\012'
+}
+
+IF_YES_NO() {
+ if test "$1" = "yes"; then
+ echo "Yes"
+ else
+ echo "No"
+ fi
+}
+
+IF_ENABLED_DISABLED() {
+ if test "$1" = "yes"; then
+ echo "Enabled"
+ else
+ echo "Disabled"
+ fi
}
echo ""
-echo "Configuation Options:"
+echo "Compiling Options:"
PRINT "Compilation Mode"
case "X-$enable_production" in
@@ -1836,126 +1852,60 @@ case "$HSIZET" in
esac
PRINT "HDF5 v1.4 Compatibility"
-if test "$HDF5_V1_4_COMPAT" = "yes"; then
- echo "Yes"
-else
- echo "No"
-fi
-
-PRINT "Linux LFS"
-if test "$LINUX_LFS" = "yes"; then
- echo "Enabled"
-else
- echo "Disabled"
-fi
-
-PRINT "Parallel HDF5"
-if test "$PARALLEL" != "no"; then
- echo "Yes"
-else
- echo "No"
-fi
+IF_YES_NO "$HDF5_V1_4_COMPAT"
PRINT "Shared Libraries"
-if test "$enable_shared" = "yes"; then
- echo "Yes"
-else
- echo "No"
-fi
+IF_YES_NO "$enable_shared"
PRINT "Static Libraries"
-if test "$enable_static" = "yes"; then
- echo "Yes"
-else
- echo "No"
-fi
+IF_YES_NO "$enable_static"
PRINT "Statically Linked Executables"
-if test "$STATIC_EXEC" = "yes"; then
- echo "Yes"
-else
- echo "No"
-fi
+IF_YES_NO "$STATIC_EXEC"
PRINT "Stream VFD"
-if test "$STREAM_VFD" = "yes"; then
- echo "Yes"
-else
- echo "No"
-fi
-
-PRINT "Tracing"
-if test -z "$TRACE" -o "X$TRACE" = "Xyes"; then
- echo "Yes"
-else
- echo "No"
-fi
-
-PRINT "Threadsafety"
-if test "$THREADSAFE" = "yes"; then
- echo "Yes"
-else
- echo "No"
-fi
+IF_ENABLED_DISABLED "$STREAM_VFD"
echo ""
-echo "Library Wrappers:"
-
-PRINT "Fortran"
-if test "$HDF_FORTRAN" = "yes"; then
- echo "Yes"
-else
- echo "No"
-fi
+echo "Features:"
PRINT "C++"
-if test "$HDF_CXX" = "yes"; then
- echo "Yes"
-else
- echo "No"
-fi
+IF_YES_NO "$HDF_CXX"
-echo ""
-echo "Libraries/Modules:"
-
-PRINT "HDF4"
-if test "$HAVE_HDF4" = "yes"; then
- echo "Yes"
-else
- echo "No"
-fi
+PRINT "Fortran"
+IF_YES_NO "$HDF_FORTRAN"
PRINT "GASS"
-if test "$GASS" = "yes"; then
- echo "Yes"
-else
- echo "No"
-fi
+IF_YES_NO "$GASS"
PRINT "GridStorage"
-if test -n "$GRIDSTORAGE"; then
- echo "Yes"
-else
- echo "No"
-fi
+IF_YES_NO "$GRIDSTORAGE"
+
+PRINT "HDF4"
+IF_YES_NO "$HAVE_HDF4"
+
+PRINT "Linux Large File Support (LFS)"
+IF_ENABLED_DISABLED "$LINUX_LFS"
-PRINT "PThreads"
-if test -n "$PTHREAD"; then
+PRINT "Parallel HDF5"
+if test "$PARALLEL" != "no"; then
echo "Yes"
else
echo "No"
fi
PRINT "SRB"
-if test -n "$SRB"; then
- echo "Yes"
-else
- echo "No"
-fi
+IF_YES_NO "$SRB"
-PRINT "Zlib"
-if test "$HAVE_ZLIB" = "yes"; then
+PRINT "Threadsafety"
+IF_ENABLED_DISABLED "$THREADSAFE"
+
+PRINT "Tracing"
+if test -z "$TRACE" -o "X$TRACE" = "Xyes"; then
echo "Yes"
else
echo "No"
fi
+
+PRINT "Zlib-compression"
+IF_YES_NO "$HAVE_ZLIB"