444d136aa8
Compute slin to mulaw and alaw tables at startup. Got rid of the sox build time dependency. git-svn-id: http://yate.null.ro/svn/yate/trunk@5050 acf43c95-373e-0410-b603-e72c3f656dc1
31 lines
659 B
Bash
Executable file
31 lines
659 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# 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
|
|
|
|
ac=`which autoconf 2>/dev/null`
|
|
test -z "$ac" && ac=/usr/local/gnu-autotools/bin/autoconf
|
|
if [ -x "$ac" ]; then
|
|
"$ac" || exit $?
|
|
./yate-config.sh || exit $?
|
|
case "x$1" in
|
|
x--silent)
|
|
;;
|
|
x--configure)
|
|
shift
|
|
./configure "$@" || exit $?
|
|
echo "Finished! Now run make."
|
|
;;
|
|
*)
|
|
echo "Finished! Now run configure. If in doubt run ./configure --help"
|
|
;;
|
|
esac
|
|
else
|
|
echo "Please install Gnu autoconf to build from CVS." >&2
|
|
exit 1
|
|
fi
|