summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xc++/configure4
-rw-r--r--c++/configure.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/c++/configure b/c++/configure
index 7aa223f..78e4a3a 100755
--- a/c++/configure
+++ b/c++/configure
@@ -7749,7 +7749,7 @@ if test "${enable_production+set}" = set; then
fi;
case "X-$enable_production" in
- X-yes)
+ X-|X-yes)
echo "$as_me:$LINENO: result: \"production\"" >&5
echo "${ECHO_T}\"production\"" >&6
@@ -7777,7 +7777,7 @@ echo "${ECHO_T}\"production\"" >&6
CXXFLAGS="$CXXFLAGS $PROD_CXXFLAGS"
CPPFLAGS="$CPPFLAGS $PROD_CPPFLAGS"
;;
- X-|X-no)
+ X-no)
echo "$as_me:$LINENO: result: \"development\"" >&5
echo "${ECHO_T}\"development\"" >&6
CONFIG_MODE=development
diff --git a/c++/configure.in b/c++/configure.in
index cb80286..11cce52 100644
--- a/c++/configure.in
+++ b/c++/configure.in
@@ -253,7 +253,7 @@ AC_ARG_ENABLE([production],
[Determines how to run the compiler.])])
case "X-$enable_production" in
- X-yes)
+ X-|X-yes)
AC_MSG_RESULT("production")
dnl Remove the "-g" flag from CFLAGS & CXXFLAGS if it's in there.
@@ -282,7 +282,7 @@ case "X-$enable_production" in
CXXFLAGS="$CXXFLAGS $PROD_CXXFLAGS"
CPPFLAGS="$CPPFLAGS $PROD_CPPFLAGS"
;;
- X-|X-no)
+ X-no)
AC_MSG_RESULT("development")
CONFIG_MODE=development
CXXFLAGS="$CXXFLAGS $DEBUG_CXXFLAGS"