--- gutenprint-5.0.0.99.1/configure.ac.O6 2007-05-04 15:22:21.000000000 +0100 +++ gutenprint-5.0.0.99.1/configure.ac 2007-05-04 15:23:39.000000000 +0100 @@ -645,29 +645,6 @@ PKGMODULEDIR="${PACKAGE_LIB_DIR}/${PACKAGE_VERSION}/modules" AC_DEFINE_UNQUOTED(PKGMODULEDIR, ["$PKGMODULEDIR"]) -dnl Compiler flags -if test x$ac_compiler_gnu = "xyes"; then - STP_ADD_COMPILER_ARGS([-Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=1048576],, [GNUCFLAGS]) - 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) - AH_TEMPLATE([HAVE_GCC_ATTRIBUTES], [Define to 1 if GCC special attributes are supported]) AC_MSG_CHECKING([if $CC supports __attribute__ syntax])