summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorCasey Marshall <csm@gnu.org>2004-08-18 06:42:41 +0000
committerCasey Marshall <csm@gnu.org>2004-08-18 06:42:41 +0000
commit0874c7fc0a30f51b3745a81ac08bcce80e40fffc (patch)
treeb3ba0d506da634fc8174e06ea3ac4230b5455074 /autogen.sh
parent1f0ed09cf9a663b5b53b0d72f281c1594655a344 (diff)
downloadclasspath-0874c7fc0a30f51b3745a81ac08bcce80e40fffc.tar.gz
2004-08-17 Casey Marshall <csm@gnu.org>
* autogen.sh: use `head -n 1' instead of `head -1'.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/autogen.sh b/autogen.sh
index 16751d686..f4f4ea5dc 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -3,16 +3,16 @@
set -e
LIBTOOLIZE=libtoolize
-${LIBTOOLIZE} --version | head -1
+${LIBTOOLIZE} --version | head -n 1
echo "libtoolize: minimum version required: 1.4.2"
AUTOCONF=autoconf
-${AUTOCONF} --version | head -1
+${AUTOCONF} --version | head -n 1
echo "autoconf: minimum version required: 2.59"
# Autoheader is part of autoconf
AUTOHEADER=autoheader
-${AUTOHEADER} --version | head -1
+${AUTOHEADER} --version | head -n 1
echo "autoheader: minimum version required: 2.59"
AUTOMAKE=automake
@@ -21,7 +21,7 @@ if test -x /usr/bin/automake-1.8; then
elif test -x /usr/bin/automake-1.7; then
AUTOMAKE=/usr/bin/automake-1.7
fi
-${AUTOMAKE} --version | head -1
+${AUTOMAKE} --version | head -n 1
echo "automake: minimum version required: 1.7.0"
# Aclocal is part of automake
@@ -31,7 +31,7 @@ if test -x /usr/bin/aclocal-1.8; then
elif test -x /usr/bin/aclocal-1.7; then
ACLOCAL=/usr/bin/aclocal-1.7
fi
-${ACLOCAL} --version | head -1
+${ACLOCAL} --version | head -n 1
echo "aclocal: minimum version required: 1.7.0"
echo "libtoolize ..."