On Fri, Sep 24, 2010 at 2:18 PM, Eric Blake <ebl...@redhat.com> wrote:
> On 09/23/2010 10:34 PM, Ralf Wildenhues wrote:
>>
>> -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], [],
>
> This second instance is a copy-and-paste error, it should be identical to
> the first line replacement above.
>
> --
> Eric Blake   ebl...@redhat.com    +1-801-349-2682
> Libvirt virtualization library http://libvirt.org
>

Eric, Ralf,
Adding that line in both places, fixed both tests on Haiku.

/bin/sh ./testsuite 261-262
## ----------------------------- ##
## GNU Autoconf 2.68 test suite. ##
## ----------------------------- ##

Low level compiling/preprocessing macros.

261: AC_LANG_SOURCE example                          ok
262: AC_LANG_PROGRAM example                         ok

## ------------- ##
## Test results. ##
## ------------- ##

All 2 tests were successful.


-scott

Reply via email to