[svn-r21067] 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:29:16 -05:00
parent dfc0da212e
commit 3827cdb997
2 changed files with 3 additions and 3 deletions

4
configure vendored
View File

@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in 21044 2011-06-28 21:25:10Z mamcgree .
# From configure.in Id: configure.in 21065 2011-07-04 00:39:37Z hdftest .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for HDF5 1.8.8-snap6.
#
@@ -21688,7 +21688,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

View File

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