From 0e9018250f87c9fba7e2ec9c7dbf88d61272b17d Mon Sep 17 00:00:00 2001 From: boercher Date: Wed, 26 Oct 2005 22:57:51 +0000 Subject: [PATCH] gcc-2.X won't accept option -Wno-unused-function added a note for that --- configure.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.in b/configure.in index 7c2a4a5..ce59133 100644 --- a/configure.in +++ b/configure.in @@ -62,6 +62,8 @@ AC_PROG_RANLIB dnl Avoid unused static function warnings CFLAGS="-Wall $CFLAGS" if test "x$GCC" = "xyes"; then + # this may produce a harmless warning with older GCC's: + # unrecognized option '-Wno-unused-function' CFLAGS="$CFLAGS -Wno-unused-function" fi export CFLAGS