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

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 728
Date       : Tue Mar 28 21:17:15 BST 2006

Changed paths:
   M /Trunk/XaraLX/configure.in

Fix quoting in automake check so it runs OK with gnu awk


Diff:
Index: Trunk/XaraLX/configure.in
===================================================================
--- Trunk/XaraLX/configure.in	(revision 727)
+++ Trunk/XaraLX/configure.in	(revision 728)
@@ -56,16 +56,16 @@
 AC_CHECK_SIZEOF(int)
 AC_CHECK_SIZEOF(short)
 AC_CHECK_SIZEOF(__int64)
-
-# Check that AUTOMAKE is new enough
-AutomakeVersion=`automake --version | awk '{ if($3 ~ /automake)/) print $4}'`
+
+# Check that AUTOMAKE is new enough
+AutomakeVersion=`automake --version | awk '{ if($3 ~ /automake\)/) print $4}'`
 AC_MSG_CHECKING([Automake ($AutomakeVersion)])
-AutomakeVersion=`echo $AutomakeVersion | $AWK 'BEGIN { FS = "."; } { printf "% d", ($1 * 1000 + $2) * 1000 + $3;}'`
-if test "$AutomakeVersion" -lt 1009000; then
+AutomakeVersion=`echo $AutomakeVersion | $AWK 'BEGIN { FS = "."; } { printf "% d", ($1 * 1000 + $2) * 1000 + $3;}'`
+if test "$AutomakeVersion" -lt 1009000; then
 	AC_MSG_ERROR([Version 1.9.0 or later of AUTOMAKE is needed])
-else
+else
 	AC_MSG_RESULT([Version OK])
-fi
+fi
 
 # Test for GCC and version
 GccVersion=0


Xara