From 014e9630d2e59301c7c15b8be4ec7914ba7bf524 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Sat, 15 Apr 2006 18:50:15 -0500 Subject: [svn-r12260] Purpose: Changed to production mode default on, debug mode default off to prepare for 1.8.0alpha0 release. Platforms tested: Tested in heping but only did the configure and compared the output with previous default output. The changes were pretty simple. --- configure | 8 ++++---- configure.in | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure b/configure index 86c50ec..adde0a0 100755 --- a/configure +++ b/configure @@ -21993,7 +21993,7 @@ if test "${enable_production+set}" = set; then fi; case "X-$enable_production" in - X-yes) + X-|X-yes) enable_production="yes" echo "$as_me:$LINENO: result: production" >&5 echo "${ECHO_T}production" >&6 @@ -22034,7 +22034,7 @@ echo "${ECHO_T}production" >&6 CXXFLAGS="$CXXFLAGS $PROD_CXXFLAGS" FCFLAGS="$FCFLAGS $PROD_FCFLAGS" ;; - X-|X-no) + X-no) enable_production="no" echo "$as_me:$LINENO: result: development" >&5 echo "${ECHO_T}development" >&6 @@ -47310,7 +47310,7 @@ fi; all_packages="ac,b,d,e,f,g,hg,hl,i,mf,mm,o,p,s,t,v,z" case "X-$DEBUG_PKG" in - X-|X-yes) + X-yes) DEBUG_PKG="d,e,f,g,hg,i,mm,o,p,s,t,v,z" CPPFLAGS="$CPPFLAGS -UNDEBUG" echo "$as_me:$LINENO: result: default ($DEBUG_PKG)" >&5 @@ -47322,7 +47322,7 @@ echo "${ECHO_T}default ($DEBUG_PKG)" >&6 echo "$as_me:$LINENO: result: all ($DEBUG_PKG)" >&5 echo "${ECHO_T}all ($DEBUG_PKG)" >&6 ;; - X-no|X-none) + X-|X-no|X-none) echo "$as_me:$LINENO: result: none" >&5 echo "${ECHO_T}none" >&6 DEBUG_PKG= diff --git a/configure.in b/configure.in index f14dbd9..a4555d2 100644 --- a/configure.in +++ b/configure.in @@ -754,7 +754,7 @@ AC_ARG_ENABLE(production, [Determines how to run the compiler.])]) case "X-$enable_production" in - X-yes) + X-|X-yes) enable_production="yes" AC_MSG_RESULT([production]) @@ -796,7 +796,7 @@ case "X-$enable_production" in CXXFLAGS="$CXXFLAGS $PROD_CXXFLAGS" FCFLAGS="$FCFLAGS $PROD_FCFLAGS" ;; - X-|X-no) + X-no) enable_production="no" AC_MSG_RESULT([development]) CONFIG_MODE=development @@ -1747,7 +1747,7 @@ AC_ARG_ENABLE([debug], AC_SUBST([DEBUG_PKG]) all_packages="ac,b,d,e,f,g,hg,hl,i,mf,mm,o,p,s,t,v,z" case "X-$DEBUG_PKG" in - X-|X-yes) + X-yes) DEBUG_PKG="d,e,f,g,hg,i,mm,o,p,s,t,v,z" CPPFLAGS="$CPPFLAGS -UNDEBUG" AC_MSG_RESULT([default ($DEBUG_PKG)]) @@ -1757,7 +1757,7 @@ case "X-$DEBUG_PKG" in CPPFLAGS="$CPPFLAGS -UNDEBUG" AC_MSG_RESULT([all ($DEBUG_PKG)]) ;; - X-no|X-none) + X-|X-no|X-none) AC_MSG_RESULT([none]) DEBUG_PKG= CPPFLAGS="$CPPFLAGS -DNDEBUG" -- cgit v0.12