Try to guess autoconf's location in freebsd.

git-svn-id: http://voip.null.ro/svn/yate@899 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2006-06-22 18:32:30 +00:00
parent e9a7ed874f
commit 78a7787be6
1 changed files with 8 additions and 1 deletions

View File

@ -11,4 +11,11 @@ else
fi
fi
autoconf && echo "Finished! Now run configure. If in doubt run ./configure --help"
ac=`which autoconf 2>/dev/null`
test -z "$ac" && ac=/usr/local/gnu-autotools/bin/autoconf
if [ -x "$ac" ]; then
"$ac" && echo "Finished! Now run configure. If in doubt run ./configure --help"
else
echo "Please install Gnu autoconf to build from CVS." >&2
exit 1
fi