diff -Naur gutenprint-5.2.5-orig/configure.ac gutenprint-5.2.5/configure.ac --- gutenprint-5.2.5-orig/configure.ac 2008-12-20 18:04:24.000000000 -0600 +++ gutenprint-5.2.5/configure.ac 2009-02-13 18:52:19.000000000 -0600 @@ -631,20 +631,6 @@ if test x${USE_MAINTAINER_MODE} = xyes ; then STP_ADD_COMPILER_ARGS([-pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls],, [GNUCFLAGS]) fi - if test x$ENABLE_DEBUG = xyes ; then - STP_ADD_COMPILER_ARG([-g]) - else - STP_ADD_FIRST_COMPILER_ARG([-O6 -O3 -O2 -O1 -O]) - fi -else - if test x$ENABLE_DEBUG = xyes ; then - STP_ADD_COMPILER_ARG([-g]) - else - STP_ADD_FIRST_COMPILER_ARG([-O]) - fi -fi -if test x$ENABLE_PROFILE = xyes ; then - STP_ADD_COMPILER_ARG([-pg]) fi AC_SUBST(GNUCFLAGS)