[Spice-devel] [PATCH xf86-video-qxl] configure.ac: support autoconf 2.63

Alon Levy alevy at redhat.com
Sun Dec 18 09:54:57 PST 2011


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])
-    ], []
+    ]
 )
 
 AC_CONFIG_FILES([
-- 
1.7.8



More information about the Spice-devel mailing list