On Thu, Jun 7, 2012 at 3:09 PM, Peter Breitenlohner <[email protected]> wrote:

> according to the Autoconf manual (8.1 M4 Quotation) that should be
>
>
> AS_IF([test "$GCC" = yes],
>  [AS_IF([test "`$CC -v 2>&1 | grep -c 'clang_version'`" != 
> "0"],[CLANG_CC=1])],
>  [CLANG_CC=])
>
> i.e., exactly one level of quotes for each macro argument.

Actually I made a typo and that's what I have. Still having the same problem.

> In addition it
> might be safer to replace
>  test "$GCC" = yes
> by
>  test "X$GCC" = Xyes
> and similar.

Thanks, I use a similar approach in other tests so I'll use the same here.

Cheers

Adam

_______________________________________________
Autoconf mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to