From 34d23140f8e6a4e55e8d2151be967ead812456ef Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Fri, 12 Jun 2009 15:06:09 +0200 Subject: [PATCH] Remove --enable/disable-debug, which is causing problems in gentoo. --- src/configure | 7 ------- src/configure.in | 10 +++++----- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/configure b/src/configure index 1fbe8aa65..a61c936c1 100755 --- a/src/configure +++ b/src/configure @@ -775,7 +775,6 @@ with_gmp_incdir with_gmp_libdir enable_local_gmp with___thread -enable_debug enable_opcode8 with_cxx with_tcp @@ -1453,7 +1452,6 @@ Optional Features: --enable-soname link and install the library using version numbers (no|yes, default=yes) --enable-local-gmp Deprecated! See --with-system-gmp - --enable-debug enable various debugging features (default=NO) --enable-opcode8 interpreter uses 8-bit codes (default=NO, only works on Intel) --enable-unicode enable support for unicode (default=NO) @@ -2123,11 +2121,6 @@ else fi -# Check whether --enable-debug was given. -if test "${enable_debug+set}" = set; then - enableval=$enable_debug; DEBUG_CFLAGS="-g -O0"; CFLAGS="$CFLAGS -g -O0" -fi - # Check whether --enable-opcode8 was given. if test "${enable_opcode8+set}" = set; then diff --git a/src/configure.in b/src/configure.in index cb855b31b..1053da7ea 100644 --- a/src/configure.in +++ b/src/configure.in @@ -100,11 +100,11 @@ AC_ARG_WITH(__thread, [(supported by NPTL-aware glibc and maybe Windows)] ), [], [with___thread=auto]) -AC_ARG_ENABLE(debug, - AS_HELP_STRING( [--enable-debug], - [enable various debugging features] - [(default=NO)]), - [DEBUG_CFLAGS="-g -O0"; CFLAGS="$CFLAGS -g -O0"],[]) +dnl AC_ARG_ENABLE(debug, +dnl AS_HELP_STRING( [--enable-debug], +dnl [enable various debugging features] +dnl [(default=NO)]), +dnl [DEBUG_CFLAGS="-g -O0"; CFLAGS="$CFLAGS -g -O0"],[]) AC_ARG_ENABLE(opcode8, AS_HELP_STRING( [--enable-opcode8],