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