tinyproxy/autogen.sh

31 lines
405 B
Bash
Raw Normal View History

2004-08-20 12:56:05 -07:00
#!/bin/sh
2009-09-23 19:46:26 -07:00
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
2004-08-20 12:56:05 -07:00
set -x
2009-09-23 19:46:26 -07:00
cd $srcdir
aclocal -I m4macros \
2004-08-20 12:56:05 -07:00
&& autoheader \
&& automake --gnu --add-missing \
&& autoconf
2009-09-23 19:46:26 -07:00
cd $ORIGDIR
set -
2009-12-07 21:20:16 -08:00
echo $srcdir/configure "$@"
$srcdir/configure "$@"
2009-09-23 19:46:26 -07:00
RC=$?
if test $RC -ne 0; then
echo
echo "Configure failed or did not finish!"
exit $RC
fi
echo
echo "Now type 'make' to compile Tinyproxy."