summaryrefslogtreecommitdiff
blob: fe6abafec101960715add32a0db0c810690c6b55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- configure.in.orig	2007-02-27 21:58:01.000000000 +0100
+++ configure.in	2007-02-27 22:00:07.000000000 +0100
@@ -433,7 +433,7 @@
 
 AC_ARG_ENABLE(debug,
 AC_HELP_STRING([--enable-debug],
-	       [Turn on debugging and compile time warnings]),
+	       [(gentoo) disabled, just observe CFLAGS]),
 [
     if test "$enableval" = "yes" ; then
       enable_debugging="yes"
@@ -441,17 +441,6 @@
       enable_debugging="no"
     fi
 ])
-if test "$enable_debugging" = "yes" ; then
-  dnl At the moment, we don't want optimization, because we're
-  dnl debugging.
-  dnl ### actually, debugging should be fine with the default -O2
-  CFLAGS=["`echo $CFLAGS' ' | sed -e 's/-O[^ ]* //g'`"]
-else
-  if test "$enable_debugging" = "no" ; then
-    CFLAGS=["`echo $CFLAGS' ' | sed -e 's/-g[0-9] //g' | sed -e 's/-g//g'`"]
-  fi
-fi
-
 
 AC_ARG_WITH(editor,
 AC_HELP_STRING([--with-editor=PATH],