-if test "$GCC" = "yes"; then
- the_CFLAGS="-Wmissing-declarations -Wpointer-arith -Wstrict-prototypes"
- ansi=" -ansi"
- pedantic=" -pedantic"
-
- $CC --version | grep 20020420 >/dev/null 2>&1
- if test $? -eq 0; then
- # Mac OS X (and Darwin?) ship with a slightly broken
- # prerelease of GCC 3.1 which don't like -pedantic:
- AC_MSG_RESULT([detected broken GNU C compiler, disabling "-pedantic"])
- pedantic=""
- fi
-
- $CC --version | grep 20030304 >/dev/null 2>&1
- if test $? -eq 0; then
- # Mac OS X 10.3 (and Darwin 7.0?) have a strange gcc (or
- # system header files?) which produces lots of errors when
- # using -ansi; so we don't =:-)
- AC_MSG_RESULT([detected broken GNU C compiler, disabling "-ansi"])
- ansi=""
- fi
-
- uname | grep "CYGWIN" >/dev/null 2>&1
- if test $? -eq 0; then
- # The include files of Cygwin don't like -ansi,
- # so we disable it:
- AC_MSG_RESULT([detected Cygwin, disabling "-ansi"])
- ansi=""
- fi
-
- add_CFLAGS="-pipe -Wall -W${ansi}${pedantic} $CFLAGS $CFLAGS_ADD"
-else
- the_CFLAGS="$CFLAGS"
- add_CFLAGS="$CFLAGS_ADD"
-fi
-
-CFLAGS="$the_CFLAGS $add_CFLAGS $add_DEFINES -DSYSCONFDIR='\"\$(sysconfdir)\"'"
-
-# -- Ausgabe der Dateien --