From 34a1fb8ccccb8f6de3417d9118b9148fbefa0d7d Mon Sep 17 00:00:00 2001 Message-Id: <34a1fb8ccccb8f6de3417d9118b9148fbefa0d7d.1717651374.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sat, 1 Dec 2012 11:09:03 +0000 Subject: [PATCH] build: fix test for ancient GCC bug Organization: Straylight/Edgeware From: Richard Kettlewell --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index ee96f21..e47aca2 100644 --- a/configure.ac +++ b/configure.ac @@ -729,13 +729,13 @@ if test "x$GCC" = xyes; then if test $GCC = yes; then CC="$CC -Wall -Werror" fi - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ static int x(char *f) { return *f; } int z(const char *g) { return x((char *)g); - }])], + }],[])], [rjk_cv_pr29478=no], [rjk_cv_pr29478=yes] ) -- [mdw]