On Sun, Dec 18, 2011 at 07:54:57PM +0200, Alon Levy wrote:
> AC_CHECK_FILE(cond,[not-empty],[]) in autoconf 2.63 produces an empty
> else that is illegal for bash, but forgoes the else when given a
> AC_CHECK_FILE(cond,[not-empty]). 2.68 produces correct output on both,
> so it's unaffected.
> ---
>  configure.ac |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 581521e..22b2e3d 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -110,7 +110,7 @@ PKG_CHECK_MODULES([SPICE_PROTOCOL], [spice-protocol >= 
> 0.8.1])
>  AC_CHECK_FILE(.git, [
>      GIT_VERSION=`git log -1 --format=%h`
>      AC_DEFINE_UNQUOTED([GIT_VERSION], ["$GIT_VERSION"], [Defined if building 
> from git])
> -    ], []
> +    ]
>  )
>  

Looks good to me

Christophe

Attachment: pgpG2Lg8j9q3s.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to