From 2f725eeb402f9ef6bc2e1cb277754ead56ecadf5 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 15 Sep 2000 14:59:33 -0500 Subject: [svn-r2565] Purpose: Stupid error in one of the tests. Description: The string tested needed to be in quotes. Platforms: Linux, Solaris --- configure | 20 ++++++++++---------- configure.in | 27 ++++++++++++++------------- 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/configure b/configure index 8d2a2fb..739bb85 100755 --- a/configure +++ b/configure @@ -1032,7 +1032,7 @@ fi if test "X$HDF_FORTRAN" = "Xyes"; then echo "yes" - if test -z $config_dirs; then + if test -z "$config_dirs"; then config_dirs=fortran else config_dirs=${config_dirs} fortran @@ -1052,7 +1052,7 @@ fi if test "X$HDF_CXX" = "Xyes"; then echo "yes" - if test -z $config_dirs; then + if test -z "$config_dirs"; then config_dirs=c++ else config_dirs=${config_dirs} c++ @@ -7527,17 +7527,17 @@ else fi -case $withval in - yes) - echo "$ac_t""yes" 1>&6 - cat >> confdefs.h <<\EOF +case "$withval" in + yes) + echo "$ac_t""yes" 1>&6 + cat >> confdefs.h <<\EOF #define HAVE_STREAM 1 EOF - ;; - *) - echo "$ac_t""not configured" 1>&6 - ;; + ;; + *) + echo "$ac_t""not configured" 1>&6 + ;; esac diff --git a/configure.in b/configure.in index 37f7c79..a8771ac 100644 --- a/configure.in +++ b/configure.in @@ -129,7 +129,7 @@ AC_ARG_ENABLE(fortran, if test "X$HDF_FORTRAN" = "Xyes"; then echo "yes" - if test -z $config_dirs; then + if test -z "$config_dirs"; then config_dirs=fortran else config_dirs=${config_dirs} fortran @@ -148,7 +148,7 @@ AC_ARG_ENABLE(c++, if test "X$HDF_CXX" = "Xyes"; then echo "yes" - if test -z $config_dirs; then + if test -z "$config_dirs"; then config_dirs=c++ else config_dirs=${config_dirs} c++ @@ -758,22 +758,23 @@ dnl Should the Stream Virtual File Driver be compiled in ? dnl AC_MSG_CHECKING(for Stream Virtual File Driver support) AC_ARG_WITH(Stream-VFD, - [ --with-Stream-VFD Build the Stream Virtual File Driver [default=no]], - ,withval=no) - -case $withval in - yes) - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_STREAM) - ;; - *) - AC_MSG_RESULT(not configured) - ;; + [ --with-Stream-VFD Build the Stream Virtual File Driver [default=no]], + ,withval=no) + +case "$withval" in + yes) + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_STREAM) + ;; + *) + AC_MSG_RESULT(not configured) + ;; esac dnl ---------------------------------------------------------------------- dnl Is LLNL's PDB present? If so then we'll compile the PDB-to-HDF5 dnl translator. +dnl AC_SUBST(PDB2HDF) AC_CHECK_LIB(pdb,PD_open) AC_CHECK_LIB(silo,lite_PD_open) -- cgit v0.12