On 06/20/2010 11:37 AM, Ralf Wildenhues wrote:
> * Ralf Wildenhues wrote on Sat, Jun 19, 2010 at 05:50:32PM CEST:
>> On Tru64/OSF 5.1D, the vendor compiler preprocessor doesn't choke upon a
>> bad macro name, leading to a testsuite failure:
> 
> Here's a better patch that doesn't regress with Solaris cc.  OK?
> 
> Thanks,
> Ralf
> 
>     Fix testsuite failure with Tru64 preprocessor.
>     
>     * tests/compile.at (Order of user actions and cleanup): Add
>     incomplete comment to provoke failure with Tru64/OSF 5.1 cc
>     preprocessor.
> 
> diff --git a/tests/compile.at b/tests/compile.at
> index 129f3c6..b26d810 100644
> --- a/tests/compile.at
> +++ b/tests/compile.at
> @@ -297,7 +297,7 @@ AC_PROG_CC
>  AC_PREPROC_IFELSE([AC_LANG_PROGRAM([int ok;], [])],
>                 [test -f conftest.err || AS_EXIT([1])],
>                 [AS_EXIT([1])])
> -AC_PREPROC_IFELSE([AC_LANG_PROGRAM([#define 12 34], [])],
> +AC_PREPROC_IFELSE([AC_LANG_PROGRAM([#define 12 34 /*], [])],

Yes, please push.

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to