Annotation of embedaddon/lighttpd/autogen.sh, revision 1.1.1.1
1.1 misho 1: #!/bin/sh
2: # Run this to generate all the initial makefiles, etc.
3:
4: if which glibtoolize >/dev/null 2>&1; then
5: LIBTOOLIZE=${LIBTOOLIZE:-glibtoolize}
6: else
7: LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
8: fi
9: ACLOCAL=${ACLOCAL:-aclocal}
10: AUTOHEADER=${AUTOHEADER:-autoheader}
11: AUTOMAKE=${AUTOMAKE:-automake}
12: AUTOCONF=${AUTOCONF:-autoconf}
13:
14: ARGV0=$0
15:
16: set -e
17:
18:
19: run() {
20: echo "$ARGV0: running \`$@'"
21: "$@"
22: }
23:
24: run $LIBTOOLIZE --copy --force
25: run $ACLOCAL $ACLOCAL_FLAGS
26: run $AUTOHEADER
27: run $AUTOMAKE --add-missing --copy --foreign --force-missing
28: run $AUTOCONF
29: echo "Now type './configure ...' and 'make' to compile."
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>