[Top][All Lists]

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

Re: Nested AS_IF calls

From: Eric Blake
Subject: Re: Nested AS_IF calls
Date: Thu, 07 Jun 2012 09:39:11 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

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
> fi

'fi' for the first 'if'.

> so it's missing a closing fi.

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

Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]