diff options
-rwxr-xr-x | configure | 8 | ||||
-rw-r--r-- | configure.in | 8 |
2 files changed, 8 insertions, 8 deletions
@@ -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" |