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
_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel