root/tags/release-1.3.12/autogen.sh

Revision 36, 0.7 kB (checked in by jan, 4 years ago)

added autogen.sh submitted by debugger@#lighttpd

  • Property svn:executable set to *
Line 
1#!/bin/sh
2# Run this to generate all the initial makefiles, etc.
3
4LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
5LIBTOOLIZE_FLAGS="--copy --force"
6ACLOCAL=${ACLOCAL:-aclocal}
7AUTOHEADER=${AUTOHEADER:-autoheader}
8AUTOMAKE=${AUTOMAKE:-automake}
9AUTOMAKE_FLAGS="--add-missing --copy"
10AUTOCONF=${AUTOCONF:-autoconf}
11
12ARGV0=$0
13
14set -e
15
16if [ -z "$*" ]; then
17        echo "$ARGV0:   Note: \`./configure' will be run without arguments."
18        echo "          If you wish to pass any to it, please specify them on the"
19        echo "          \`$0' command line."
20        echo
21fi
22
23run() {
24        echo "$ARGV0: running \`$@'"
25        $@
26}
27
28run $LIBTOOLIZE $LIBTOOLIZE_FLAGS
29run $ACLOCAL $ACLOCAL_FLAGS
30run $AUTOHEADER
31run $AUTOMAKE $AUTOMAKE_FLAGS
32run $AUTOCONF
33run ./configure --enable-maintainer-mode "$@"
34echo "Now type \`make' to compile."
Note: See TracBrowser for help on using the browser.