Hi Scott, * scott mc wrote on Thu, Sep 23, 2010 at 06:41:30PM CEST: > This was on Haiku, gcc2 build, r38734,IIRC this is similar to the > results for autoconf 2.67 on Haiku.
Thanks for the bug report. Can you try this patch to see whether it fixes the failures of 261 and 262 for you? It should suffice to run make check TESTSUITEFLAGS=--recheck or make check TESTSUITEFLAGS=261-262 Please send 'gcc2 --version' output. Thanks, Ralf tests: normalize trailing spaces in gcc -E -dD output. * tests/compile.at (AC_LANG_SOURCE example) (AC_LANG_PROGRAM example): Remove trailing spaces before comparing with expected output. Fixes testsuite failure with GCC X.Y on Haiku. Report by Scott McCreary. diff --git a/tests/compile.at b/tests/compile.at index dd7175b..7af76b1 100644 --- a/tests/compile.at +++ b/tests/compile.at @@ -193,7 +193,7 @@ AT_CHECK_CONFIGURE([], [], [stdout]) # Note that the output may contain more defines and lines matching # # 1 "conftest.c" # so delete everything before the interesting output. -AT_CHECK([sed -n '/#define PACKAGE/,$p' stdout], [], +AT_CHECK([sed -n 's/ *$//; /#define PACKAGE/,$p' stdout], [], [[#define PACKAGE_NAME "Hello" #define PACKAGE_TARNAME "hello" #define PACKAGE_VERSION "1.0" @@ -238,7 +238,7 @@ AT_CHECK_CONFIGURE([], [], [stdout]) # Note that the output may contain more defines and lines matching # # 1 "conftest.c" # so delete everything before the interesting output. -AT_CHECK([sed -n '/#define PACKAGE/,$p' stdout], [], +AT_CHECK([sed -n '/s/ *$//; #define PACKAGE/,$p' stdout], [], [[#define PACKAGE_NAME "Hello" #define PACKAGE_TARNAME "hello" #define PACKAGE_VERSION "1.0"