[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
This commit is contained in:
Mike McGreevy 2011-07-05 11:23:10 -05:00
parent 06880aeb4d
commit 77108909d0
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh #! /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. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for HDF5 1.9.85. # Generated by GNU Autoconf 2.68 for HDF5 1.9.85.
# #
@ -21679,7 +21679,7 @@ $as_echo "profile" >&6; }
enable_production="user-defined" enable_production="user-defined"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: user-defined" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: user-defined" >&5
$as_echo "user-defined" >&6; } $as_echo "user-defined" >&6; }
CONFIG_MODE="$X-enableval" CONFIG_MODE="$enableval"
;; ;;
esac esac

View File

@ -1178,7 +1178,7 @@ case "X-$enable_production" in
*) *)
enable_production="user-defined" enable_production="user-defined"
AC_MSG_RESULT([user-defined]) AC_MSG_RESULT([user-defined])
CONFIG_MODE="$X-enableval" CONFIG_MODE="$enableval"
;; ;;
esac esac