officially deprecate the 'roundrobin' queue strategy in favor of 'rrmemory'
[asterisk-bristuff.git] / bootstrap.sh
blobcbc26aa2f1eb358e300d08e7973a2af170ba9de5
1 #!/bin/sh
3 check_for_app() {
4 $1 --version 2>&1 >/dev/null
5 if [ $? != 0 ]
6 then
7 echo "Please install $1 and run bootstrap.sh again!"
8 exit 1
9 fi
12 uname -s | grep -q FreeBSD
13 if [ $? = 0 ]
14 then
15 check_for_app autoconf259
16 check_for_app autoheader259
17 check_for_app automake19
18 check_for_app aclocal19
19 echo "Generating the configure script ..."
20 aclocal19 2>/dev/null
21 autoconf259
22 autoheader259
23 automake19 --add-missing --copy 2>/dev/null
24 else
25 AUTOCONF_VERSION=2.59
26 AUTOMAKE_VERSION=1.9
27 export AUTOCONF_VERSION
28 export AUTOMAKE_VERSION
30 check_for_app autoconf
31 check_for_app autoheader
32 check_for_app automake
33 check_for_app aclocal
34 echo "Generating the configure script ..."
35 aclocal 2>/dev/null
36 autoconf
37 autoheader
38 automake --add-missing --copy 2>/dev/null
41 exit 0