summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2004-03-08 04:31:18 +0000
committerMonty <xiphmont@xiph.org>2004-03-08 04:31:18 +0000
commit3535689473cf09d4e3ea5fb00c86dafe265cfe02 (patch)
tree3274f5236b4664957f6f8af45b3d85c691ee87a9 /autogen.sh
parent9b5a9c0f2dedbc9b75930d4d6704966f0a3c7308 (diff)
downloadogg-3535689473cf09d4e3ea5fb00c86dafe265cfe02.tar.gz
Fix bug 483
git-svn-id: http://svn.xiph.org/trunk/ogg@5906 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 590ee9c..15765c1 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -40,7 +40,7 @@ if test -r Makefile.am; then
echo -n "checking for automake $AM_NEEDED or later... "
for am in automake-$AM_NEEDED automake$AM_NEEDED automake; do
($am --version < /dev/null > /dev/null 2>&1) || continue
- ver=`$am --version < /dev/null | head -1 | $VERSIONGREP | $VERSIONMKINT`
+ ver=`$am --version < /dev/null | head -n -1 | $VERSIONGREP | $VERSIONMKINT`
verneeded=`echo $AM_NEEDED | $VERSIONMKINT`
if test $ver -ge $verneeded; then
AUTOMAKE=$am
@@ -52,7 +52,7 @@ if test -r Makefile.am; then
echo -n "checking for aclocal $AM_NEEDED or later... "
for ac in aclocal-$AM_NEEDED aclocal$AM_NEEDED aclocal; do
($ac --version < /dev/null > /dev/null 2>&1) || continue
- ver=`$ac --version < /dev/null | head -1 | $VERSIONGREP | $VERSIONMKINT`
+ ver=`$ac --version < /dev/null | head -n -1 | $VERSIONGREP | $VERSIONMKINT`
verneeded=`echo $AM_NEEDED | $VERSIONMKINT`
if test $ver -ge $verneeded; then
ACLOCAL=$ac