Diff of /bootstrap [e7231b] .. [d3f6a6]  Maximize  Restore

  Switch to side-by-side view

--- a/bootstrap
+++ b/bootstrap
@@ -1,11 +1,42 @@
 #! /bin/sh
 set -x
 
-aclocal || exit 1
+rm -f aclocal.m4 configure config.guess config.log config.sub ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh
+
+# Check for automake
+amvers="none"
+if automake-1.6 --version >/dev/null 2>&1
+then
+  amvers="-1.6"
+else
+  if automake-1.5 --version >/dev/null 2>&1
+  then
+    amvers="-1.5"
+  else
+    if automake --version > /dev/null 2>&1
+    then
+      amvers=`automake --version | sed -e '1s/[^0-9]*//' -e q`
+
+      if expr "$amvers" "<" "1.5" > /dev/null 2>&1
+      then amvers="none"
+      else amvers=""
+      fi        
+    fi
+  fi 
+fi
+
+if test x$amvers = xnone
+then
+  set +x
+  echo "you need automake version 1.5 or later"
+  exit 1
+fi
+
+aclocal${amvers} || exit 1
 libtoolize --force --copy || exit 1
 autoheader || exit 1
 #add --include-deps if you want to bootstrap with any other compiler than gcc
-#automake --add-missing --copy --include-deps || exit 1
-automake --add-missing --copy || exit 1
+#automake${amvers} --add-missing --copy --include-deps || exit 1
+automake${amvers} --add-missing --copy || exit 1
 autoconf || exit 1
 rm -f config.cache

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks