summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-11-07 16:29:56 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-11-07 16:29:56 +0000
commit7395fa5e337310caad5dafe63936c0c005c88156 (patch)
treefec1ad0de10b66acef9fe0266dff3ef08cab13a7 /bootstrap
parent2002-11-07 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-7395fa5e337310caad5dafe63936c0c005c88156.tar.bz2
2002-11-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* bootstrap: Allow autoconf > 2.52, automake > 1.6.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap10
1 files changed, 4 insertions, 6 deletions
diff --git a/bootstrap b/bootstrap
index 92b922492e..3aa270d685 100755
--- a/bootstrap
+++ b/bootstrap
@@ -12,8 +12,8 @@
# to be run from the toplevel directory of RTEMS'
# source tree
-AUTOCONF_VERS=2.52
-AUTOMAKE_VERS=1.6.[123]
+AUTOCONF_VERS=2\.5[2345]
+AUTOMAKE_VERS=1\.[76]
progname=`basename $0`
top_srcdir=`dirname $0`
@@ -99,8 +99,7 @@ generate)
if test -z "$AUTOCONF"; then
echo "You must have autoconf installed to run $program"
fi
- AUTOCONF_VER=`$AUTOCONF --version 2>/dev/null`
- if test -z "`echo $AUTOCONF_VER | grep \" $AUTOCONF_VERS\"`"; then
+ if test -z "`$AUTOCONF --version 2>/dev/null | grep -e \" $AUTOCONF_VERS\"`"; then
cat << EOF
RTEMS requires autoconf version $AUTOCONF_VERS.
@@ -113,8 +112,7 @@ EOF
if test -z "$AUTOMAKE"; then
echo "You must have automake installed to run $program"
fi
- AUTOMAKE_VER=`$AUTOMAKE --version 2>/dev/null`
- if test -z "`echo $AUTOMAKE_VER | grep \" $AUTOMAKE_VERS\"`"; then
+ if test -z "`$AUTOMAKE --version 2>/dev/null | grep -e \" $AUTOMAKE_VERS\"`"; then
cat << EOF
RTEMS requires automake version $AUTOMAKE_VERS.