gnu89-inline.patch (772B)
1 diff --git a/configure.ac b/configure.ac 2 index 4658839..09f0267 100644 3 --- a/configure.ac 4 +++ b/configure.ac 5 @@ -79,16 +79,10 @@ AC_CHECK_DECLS([program_invocation_name, program_invocation_short_name], 6 7 # Set these flags *last*, or else the test programs won't compile 8 if test x$GCC = xyes ; then 9 - # Using -ggdb3 makes (some versions of) Redhat's gcc-2.96 dump core 10 - if "$CC" --version | grep '^2\.96$' 1>/dev/null 2>&1; then 11 - true 12 - else 13 - CFLAGS="$CFLAGS -ggdb3" 14 - fi 15 CFLAGS="$CFLAGS -Wall -W \ 16 -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \ 17 -Waggregate-return \ 18 - -Wpointer-arith -Wbad-function-cast -Wnested-externs" 19 + -Wpointer-arith -Wbad-function-cast -Wnested-externs -fgnu89-inline" 20 fi 21 22 CPPFLAGS="$CPPFLAGS -I$srcdir"