1 --- pfstools-1.8.5/configure.ac.orig 2011-10-27 10:40:19.000000000 +0200
2 +++ pfstools-1.8.5/configure.ac 2012-02-04 15:06:39.774740606 +0100
5 AS_HELP_STRING([--enable-debug],[Enable debug symbols and asserts]),
6 [if test "$enable_debug" = "yes" ; then
7 - temp_CXXFLAGS=`echo $CXXFLAGS | sed "s/-O./ /; s/-g//"`
8 + temp_CXXFLAGS=`echo $CXXFLAGS | sed "s/-O[0-9]/ /"`
9 CXXFLAGS="-g $temp_CXXFLAGS"
13 - temp_CXXFLAGS=`echo $CXXFLAGS | sed "s/-O./ /; s/-g//"`
14 - CXXFLAGS="-O3 $temp_CXXFLAGS"
15 + CXXFLAGS="-O3 $CXXFLAGS"
16 AC_DEFINE(NDEBUG, 1, [Disable assertion checks])