summaryrefslogtreecommitdiff
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
parent1af871fcef97574c71870309d572d6b1026ee605 (diff)
downloadlighttpd-git-cb02c738602ea6d71fb19da83151174c771ca4d9.tar.gz
[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
-rw-r--r--.gitignore15
-rwxr-xr-xautogen.sh24
2 files changed, 16 insertions, 23 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..628cb910
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,15 @@
+autom4te.cache/
+m4/
+Makefile.in
+aclocal.m4
+ar-lib
+compile
+config.guess
+config.h.in
+config.h.in~
+config.sub
+configure
+depcomp
+install-sh
+ltmain.sh
+missing
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."