summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2004-11-22 19:17:36 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2004-11-22 19:17:36 (GMT)
commit293fe87eeec295c4bb4227e17557361ef2f22df2 (patch)
tree7a30f3fe1374e83e25c9c93bad86fcff6024d383 /configure.in
parent35ffb5bd1341b0b49096fae2554ba18046a30958 (diff)
downloadhdf5-293fe87eeec295c4bb4227e17557361ef2f22df2.zip
hdf5-293fe87eeec295c4bb4227e17557361ef2f22df2.tar.gz
hdf5-293fe87eeec295c4bb4227e17557361ef2f22df2.tar.bz2
[svn-r9558] Purpose:
insert high level library into main library Description: configure.in has a new entry (--enable-hl, disable-hl) it is on by default the configure message prints info regarding if hl is enabled or not the tree is /hl /hl/src /hl/test Solution: Platforms tested: linux solaris AIX Misc. update:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in40
1 files changed, 38 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 89e361a..862693d 100644
--- a/configure.in
+++ b/configure.in
@@ -2816,6 +2816,26 @@ if test -n "$CPPFLAGS"; then
fi
dnl ----------------------------------------------------------------------
+dnl Check if they would like the High Level library compiled
+dnl
+
+AC_SUBST(HL) HL=""
+AC_MSG_CHECKING([if high level library is enabled])
+AC_ARG_ENABLE([hl],
+ [AC_HELP_STRING([--enable-hl],
+ [Do not compile the high level library [default=yes]])],
+ [HDF5_HL=$enableval],
+ [HDF5_HL=yes])
+
+if test "X$HDF5_HL" = "Xyes"; then
+ echo "yes"
+ HL="hl"
+else
+ echo "no"
+fi
+
+
+dnl ----------------------------------------------------------------------
dnl Build the Makefiles. Almost every Makefile.in will begin with the line
dnl `@COMMENCE@' and end with the line `@CONCLUDE@'. These lines insert
dnl various files from the config directory into the Makefile.
@@ -2895,6 +2915,17 @@ if test "X$HDF_CXX" = "Xyes"; then
c++/examples/Makefile"
fi
+# conditionally generate the high level makefiles
+# to do : fortran with hl
+
+if test "X$HDF5_HL" = "Xyes"; then
+ HL_FILES="hl/Makefile
+ hl/src/Makefile
+ hl/test/Makefile"
+fi
+
+
+
AC_CONFIG_FILES([src/libhdf5.settings
config/depend1
config/depend2
@@ -2922,7 +2953,7 @@ AC_CONFIG_FILES([src/libhdf5.settings
tools/misc/h5cc
tools/gifconv/Makefile
tools/h5jam/Makefile
- tools/h5jam/testh5jam.sh
+ tools/h5jam/testh5jam.sh
examples/Makefile
doc/Makefile
doc/html/Makefile
@@ -2939,7 +2970,8 @@ AC_CONFIG_FILES([src/libhdf5.settings
doc/html/cpplus/Makefile
doc/html/fortran/Makefile
$FORTRAN_FILES
- $CXX_FILES])
+ $CXX_FILES
+ $HL_FILES])
AC_OUTPUT
no_create=$saved_no_create
@@ -3157,3 +3189,7 @@ IF_ENABLED_DISABLED "$STREAM_VFD"
PRINT_N " Threadsafety"
IF_ENABLED_DISABLED "$THREADSAFE"
+
+PRINT_N " High Level library"
+IF_ENABLED_DISABLED "$HDF5_HL"
+