X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/feda7bfaefd9e5fb705d6893f26428a3109e7226..c0aec5a8c25c83def2a0515e7cf9b8111196b724:/configure.ac 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] )