diff options
author | Mike McGreevy <mamcgree@hdfgroup.org> | 2011-07-05 16:23:10 (GMT) |
---|---|---|
committer | Mike McGreevy <mamcgree@hdfgroup.org> | 2011-07-05 16:23:10 (GMT) |
commit | 77108909d0498ac5667712c919611cbbdc268585 (patch) | |
tree | aa9806e107035c6272f186d68ccd6a8bd7f9c476 | |
parent | 06880aeb4d098504b36160b532188a048a2455a1 (diff) | |
download | hdf5-77108909d0498ac5667712c919611cbbdc268585.zip hdf5-77108909d0498ac5667712c919611cbbdc268585.tar.gz hdf5-77108909d0498ac5667712c919611cbbdc268585.tar.bz2 |
[svn-r21066] Purpose:
Fix HDFFV-7522
"--enable-production=xxx will produce incorrect configure summary"
Description:
Fixed a typo in configure.in that resulted in "-enableval" being
displayed by the configure summary (and set in the CONFIG_MODE
makefile variable) if the production mode was set to anything other
than yes, no, or profile. The summary and CONFIG_MODE variable will
now be set to the value specified by the user.
Tested:
jam, h5committest
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 21000 2011-06-19 16:13:58Z hdftest . +# From configure.in Id: configure.in 21033 2011-06-26 15:54:32Z hdftest . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.68 for HDF5 1.9.85. # @@ -21679,7 +21679,7 @@ $as_echo "profile" >&6; } enable_production="user-defined" { $as_echo "$as_me:${as_lineno-$LINENO}: result: user-defined" >&5 $as_echo "user-defined" >&6; } - CONFIG_MODE="$X-enableval" + CONFIG_MODE="$enableval" ;; esac diff --git a/configure.in b/configure.in index bbeb698..1ba585b 100644 --- a/configure.in +++ b/configure.in @@ -1178,7 +1178,7 @@ case "X-$enable_production" in *) enable_production="user-defined" AC_MSG_RESULT([user-defined]) - CONFIG_MODE="$X-enableval" + CONFIG_MODE="$enableval" ;; esac |