From 77108909d0498ac5667712c919611cbbdc268585 Mon Sep 17 00:00:00 2001 From: Mike McGreevy Date: Tue, 5 Jul 2011 11:23:10 -0500 Subject: [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 --- configure | 4 ++-- configure.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index e21ca19..b741fb1 100755 --- a/configure +++ b/configure @@ -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 -- cgit v0.12