[BB#63] conf: Allow multiple Listen statements in the config.
[obnox/tinyproxy.git] / autogen.sh
1 #!/bin/sh
2
3 srcdir=`dirname $0`
4 test -z "$srcdir" && srcdir=.
5 ORIGDIR=`pwd`
6
7 set -x
8
9 cd $srcdir
10
11 aclocal -I m4macros \
12   && autoheader \
13   && automake --gnu --add-missing \
14   && autoconf
15
16 cd $ORIGDIR
17
18 set -
19
20 echo $srcdir/configure "$@"
21 $srcdir/configure "$@"
22 RC=$?
23 if test $RC -ne 0; then
24   echo
25   echo "Configure failed or did not finish!"
26   exit $RC
27 fi
28
29 echo
30 echo "Now type 'make' to compile Tinyproxy."