[Spice-devel] [PATCH xf86-video-qxl] configure.ac: support autoconf 2.63
Christophe Fergeau
cfergeau at redhat.com
Mon Dec 19 01:16:39 PST 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20111219/7dd35adf/attachment.pgp>
More information about the Spice-devel
mailing list