spawn-fcgi: cleanup
[tomato.git] / release / src / router / spawn-fcgi / autogen.sh
blob7673debda5ac138116f27b976d6738d046982a2e
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
4 ACLOCAL=${ACLOCAL:-aclocal}
5 AUTOHEADER=${AUTOHEADER:-autoheader}
6 AUTOMAKE=${AUTOMAKE:-automake}
7 AUTOMAKE_FLAGS="--add-missing --copy"
8 AUTOCONF=${AUTOCONF:-autoconf}
10 ARGV0=$0
12 set -e
15 run() {
16 echo "$ARGV0: running \`$@'"
20 run $ACLOCAL $ACLOCAL_FLAGS
21 run $AUTOHEADER
22 run $AUTOMAKE $AUTOMAKE_FLAGS
23 run $AUTOCONF
24 echo "Now type './configure ...' and 'make' to compile."