From 9023b8084659767a3693843546155337a7ff02fe Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Sun, 14 Mar 2004 17:31:57 +0000 Subject: Correct the fix for bug 483. It should be s/-1/-n 1/ not s/-1/-n -1/. svn path=/trunk/ogg/; revision=5949 --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 15765c1..54ca56f 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 -n -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 -n -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 -- cgit v1.2.1