Skip to content
Snippets Groups Projects
Commit 4ba0e268 authored by Warren Dukes's avatar Warren Dukes
Browse files

my copy of head (from gentoo) says that "head -1" is obsolte,

so use "head -n 1"


git-svn-id: http://svn.xiph.org/trunk/ao@5923 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent 363f03a0
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment