Chech first that the required 'which' utility is installed.

git-svn-id: http://voip.null.ro/svn/yate@4471 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2011-06-29 11:53:31 +00:00
parent 07132042d0
commit 2ae45603b1
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,11 @@
# Run this to generate a new configure script
if [ -z `which which 2>/dev/null` ]; then
echo "Please install the required 'which' utility." >&2
exit 1
fi
if [ -s engine/tables/a2s.h ]; then
test "x$1" = "x--silent" || echo "Good! Tables are generated so we don't need sox."
else