From a9a7963c6642d9f31ea20cc1d9ce1e910fbc72b3 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 12 Feb 2001 15:21:17 -0500 Subject: [svn-r3401] Purpose: [is this a bug fix? feature? ...] Description: Changed the default settings for enable-production and enable-debug to no and yes respective, for this development branch. Platforms tested: Modi4 parallel and eirene. --- configure | 8 ++++---- configure.in | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure b/configure index 4046354..82818f9 100755 --- a/configure +++ b/configure @@ -1806,13 +1806,13 @@ fi case "X-$enable_production" in - X-|X-yes) + X-yes) echo "$ac_t"""production"" 1>&6 CONFIG_MODE=production CFLAGS="$CFLAGS $PROD_CFLAGS" CPPFLAGS="$CPPFLAGS $PROD_CPPFLAGS" ;; - X-no) + X-|X-no) echo "$ac_t"""development"" 1>&6 CONFIG_MODE=development CFLAGS="$CFLAGS $DEBUG_CFLAGS" @@ -9152,7 +9152,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-yes) + X-|X-yes) DEBUG_PKG="d,e,f,g,hg,i,mm,o,p,s,t,v,z" CPPFLAGS="$CPPFLAGS -UNDEBUG" echo "$ac_t""default ($DEBUG_PKG)" 1>&6 @@ -9162,7 +9162,7 @@ case "X-$DEBUG_PKG" in CPPFLAGS="$CPPFLAGS -UNDEBUG" echo "$ac_t""all ($DEBUG_PKG)" 1>&6 ;; - X-|X-no|X-none) + X-no|X-none) echo "$ac_t""none" 1>&6 DEBUG_PKG= CPPFLAGS="$CPPFLAGS -DNDEBUG" diff --git a/configure.in b/configure.in index 631cace..a87d3b0 100644 --- a/configure.in +++ b/configure.in @@ -365,13 +365,13 @@ AC_ARG_ENABLE(production, [ --enable-production Determines how to run the compiler.]) case "X-$enable_production" in - X-|X-yes) + X-yes) AC_MSG_RESULT("production") CONFIG_MODE=production CFLAGS="$CFLAGS $PROD_CFLAGS" CPPFLAGS="$CPPFLAGS $PROD_CPPFLAGS" ;; - X-no) + X-|X-no) AC_MSG_RESULT("development") CONFIG_MODE=development CFLAGS="$CFLAGS $DEBUG_CFLAGS" @@ -1090,7 +1090,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-yes) + X-|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)) @@ -1100,7 +1100,7 @@ case "X-$DEBUG_PKG" in CPPFLAGS="$CPPFLAGS -UNDEBUG" AC_MSG_RESULT(all ($DEBUG_PKG)) ;; - X-|X-no|X-none) + X-no|X-none) AC_MSG_RESULT(none) DEBUG_PKG= CPPFLAGS="$CPPFLAGS -DNDEBUG" -- cgit v0.12