[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.
This commit is contained in:
Albert Cheng 2001-02-12 15:21:17 -05:00
parent d7b92c34eb
commit a9a7963c66
2 changed files with 8 additions and 8 deletions

8
configure vendored
View File

@ -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"

View File

@ -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"