Re: Nested AS_IF calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/07/2012 09:17 AM, Adam Mercer wrote:

> I'm getting:
> 
>   # check for clang
>   if test "x$GCC" = xyes; then :

One 'if'...

>   if test "`$CC -v 2>&1 | grep -c 'clang_version'`" != "0"; then :

Second 'if'...

>   CLANG_CC=1
> fi

'fi' for the second 'if'...

> else
>   CLANG_CC=
> fi

'fi' for the first 'if'.

> 
> so it's missing a closing fi.

How so?  It's poorly indented, but syntactically valid.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux