fix up port connection notification design; extend evmon client to test it
[jack.git] / autogen.sh
blob8bca470fa8b5d006e974e55d173228ff17e47d47
1 #!/bin/sh
3 if which libtoolize >/dev/null
4 then
5 LIBTOOLIZE=libtoolize
6 else
7 if which glibtoolize >/dev/null
8 then
9 # on the Mac it's called glibtoolize for some reason
10 LIBTOOLIZE=glibtoolize
11 else
12 echo "libtoolize not found"
13 exit 1
17 $LIBTOOLIZE --force 2>&1 | sed '/^You should/d' || {
18 echo "libtool failed, exiting..."
19 exit 1
22 aclocal $ACLOCAL_FLAGS || {
23 echo "aclocal \$ACLOCAL_FLAGS where \$ACLOCAL_FLAGS= failed, exiting..."
24 exit 1
27 autoheader || {
28 echo "autoheader failed, exiting..."
29 exit 1
32 automake --add-missing --foreign || {
33 echo "automake --add-missing --foreign failed, exiting..."
34 exit 1
37 autoconf || {
38 echo "autoconf failed, exiting..."
39 exit 1
42 if test x$1 != x--no-conf; then
43 echo "Running ./configure --enable-maintainer-mode $@..."
44 ./configure --enable-maintainer-mode $@