Author: dylan
Date: 2004-10-11 20:15:18 -0400 (Mon, 11 Oct 2004)
New Revision: 388
Modified:
trunk/clients/wxhaver/bootstrap
Log:
bootstrap now checks autoconf/automake versions.
Modified: trunk/clients/wxhaver/bootstrap
===================================================================
--- trunk/clients/wxhaver/bootstrap 2004-10-11 23:58:36 UTC (rev 387)
+++ trunk/clients/wxhaver/bootstrap 2004-10-12 00:15:18 UTC (rev 388)
@@ -1,5 +1,30 @@
#!/bin/sh
+
+echo "Checking version of autotools"
+
+(for file in autoconf automake aclocal autoheader; do
+ $file --version | head -1 | sed 's/(.\+)//'
+done) | awk '
+ /autoconf|autoheader/ {
+ if ($2 != "2.59") {
+ print "Wrong version of autoconf:", $2;
+ exit(1);
+ }
+ }
+ /automake|aclocal/ {
+ if ($2 != "1.7.9") {
+ print "Wrong version of automake:", $2;
+ exit(1);
+ }
+ }
+'
+
+if (( $? != 0 )); then
+ exit $?
+fi
+
+
set -x
mkdir -p config/
aclocal && \