summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2013-11-10 13:41:09 +0000
committerStefan Bühler <stbuehler@web.de>2013-11-10 13:41:09 +0000
commitcb02c738602ea6d71fb19da83151174c771ca4d9 (patch)
tree31710c87e6a604b06b106b2898a54116aea9e2bd /autogen.sh
parent1af871fcef97574c71870309d572d6b1026ee605 (diff)
downloadlighttpd1.4-cb02c738602ea6d71fb19da83151174c771ca4d9.tar.gz
lighttpd1.4-cb02c738602ea6d71fb19da83151174c771ca4d9.zip
[autobuild] use autoreconf instead of calling tools manually; add generated files to .gitignore
From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2914 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh24
1 files changed, 1 insertions, 23 deletions
diff --git a/autogen.sh b/autogen.sh
index 89008a9b..3983feb5 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,29 +1,7 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
-if which glibtoolize >/dev/null 2>&1; then
- LIBTOOLIZE=${LIBTOOLIZE:-glibtoolize}
-else
- LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
-fi
-ACLOCAL=${ACLOCAL:-aclocal}
-AUTOHEADER=${AUTOHEADER:-autoheader}
-AUTOMAKE=${AUTOMAKE:-automake}
-AUTOCONF=${AUTOCONF:-autoconf}
-
-ARGV0=$0
-
set -e
-
-run() {
- echo "$ARGV0: running \`$@'"
- "$@"
-}
-
-run $LIBTOOLIZE --copy --force
-run $ACLOCAL $ACLOCAL_FLAGS
-run $AUTOHEADER
-run $AUTOMAKE --add-missing --copy --foreign --force-missing
-run $AUTOCONF
+autoreconf --force --install
echo "Now type './configure ...' and 'make' to compile."