summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-09-21 23:50:15 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-09-21 23:50:15 (GMT)
commit5e834c4cbc2353be2c9efd0f55dbdb23f87d9650 (patch)
treedc41435e33d8ef43faf0626d5083b0baa028d8da /configure.in
parent813dfea5147f18f01f8326d9de8eff85536824a5 (diff)
downloadhdf5-5e834c4cbc2353be2c9efd0f55dbdb23f87d9650.zip
hdf5-5e834c4cbc2353be2c9efd0f55dbdb23f87d9650.tar.gz
hdf5-5e834c4cbc2353be2c9efd0f55dbdb23f87d9650.tar.bz2
[svn-r4466]
Purpose: Feature Add Description: Added "install-example" and "install-all" to the Makefile system. The behaviour of the "make install*" options: make install - Installs binaries, libraries, include files, and example programs. make install-examples - Installs only the example programs. The directories are: ${prefix}/doc/hdf5/examples/{c,c++,fortran} make install-all - Install the binaries, libraries, include files, example programs, and documentation. The whole kit-n'-caboodle. make uninstall-examples - Get rid of those example files (but not the ${prefix}/doc/hdf5/examples/... directories) There's a new bin/ program which helps create directories which are deeply nested called "mkdirs". It's a simple shell script. Platforms tested: Linux
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in49
1 files changed, 22 insertions, 27 deletions
diff --git a/configure.in b/configure.in
index 72dbf3c..993721b 100644
--- a/configure.in
+++ b/configure.in
@@ -1805,14 +1805,9 @@ cat >> src/H5config.h <<EOF
#endif
EOF
-PRINT() {
- 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'
-}
-
+dnl ----------------------------------------------------------------------
+dnl Print out a summary of what we are going to build.
+dnl
IF_YES_NO() {
if test "$1" = "yes"; then
echo "Yes"
@@ -1832,7 +1827,7 @@ IF_ENABLED_DISABLED() {
echo ""
echo "Compiling Options:"
-PRINT "Compilation Mode"
+echo -n " Compilation Mode: "
case "X-$enable_production" in
X-yes) echo "Production" ;;
X-|X-no) echo "Development" ;;
@@ -1840,7 +1835,7 @@ case "X-$enable_production" in
*) echo "$enable_production" ;;
esac
-PRINT "Debug Mode"
+echo -n " Debug Mode: "
case "X-$DEBUG_PKG" in
X-|X-yes) echo "Default" ;;
X-all) echo "All" ;;
@@ -1848,16 +1843,16 @@ case "X-$DEBUG_PKG" in
*) echo "$DEBUG_PKG" ;;
esac
-PRINT "Shared Libraries"
+echo -n " Shared Libraries: "
IF_YES_NO "$enable_shared"
-PRINT "Static Libraries"
+echo -n " Static Libraries: "
IF_YES_NO "$enable_static"
-PRINT "Statically Linked Executables"
+echo -n " Statically Linked Executables: "
IF_YES_NO "$STATIC_EXEC"
-PRINT "Tracing"
+echo -n " Tracing: "
if test -z "$TRACE" -o "X$TRACE" = "Xyes"; then
echo "Yes"
else
@@ -1867,48 +1862,48 @@ fi
echo ""
echo "Features:"
-PRINT "C++"
+echo -n " C++: "
IF_YES_NO "$HDF_CXX"
-PRINT "Fortran"
+echo -n " Fortran: "
IF_YES_NO "$HDF_FORTRAN"
-PRINT "GASS"
+echo -n " GASS: "
IF_YES_NO "$GASS"
-PRINT "GridStorage"
+echo -n " GridStorage: "
IF_YES_NO "$GRIDSTORAGE"
-PRINT "HDF4"
+echo -n " HDF4: "
IF_YES_NO "$HAVE_HDF4"
-PRINT "HDF5 v1.4 Compatibility"
+echo -n " HDF5 v1.4 Compatibility: "
IF_YES_NO "$HDF5_V1_4_COMPAT"
-PRINT "hsize_t"
+echo -n " hsize_t: "
case "$HSIZET" in
no|small) echo "Small" ;;
*) echo "Large" ;;
esac
-PRINT "Linux Large File Support (LFS)"
+echo -n " Linux Large File Support (LFS): "
IF_ENABLED_DISABLED "$LINUX_LFS"
-PRINT "Parallel HDF5"
+echo -n " Parallel HDF5: "
if test "$PARALLEL" != "no"; then
echo "Yes"
else
echo "No"
fi
-PRINT "SRB"
+echo -n " SRB: "
IF_YES_NO "$SRB"
-PRINT "Stream VFD"
+echo -n " Stream VFD: "
IF_ENABLED_DISABLED "$STREAM_VFD"
-PRINT "Threadsafety"
+echo -n " Threadsafety: "
IF_ENABLED_DISABLED "$THREADSAFE"
-PRINT "Zlib-compression"
+echo -n " Zlib-compression: "
IF_YES_NO "$HAVE_ZLIB"