summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2013-11-10 13:59:43 +0000
committerStefan Bühler <stbuehler@web.de>2013-11-10 13:59:43 +0000
commitff86b5cc67a8edad40ab755cd30bb942c13a34d2 (patch)
treeecd01a8f83806b00c58039debf5d64e7868fe32e /autogen.sh
parent4938c94ada48aeca0363c27b9d3c12824ccf7d29 (diff)
downloadlighttpd-git-ff86b5cc67a8edad40ab755cd30bb942c13a34d2.tar.gz
[autobuild] create m4/ before calling autoreconf
From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2917 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 3983feb5..7377a64a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -3,5 +3,12 @@
set -e
+if [ ! -f configure.ac -o ! -f COPYING ]; then
+ echo "Doesn't look like you're in the source directory" >&2
+ exit 1
+fi
+
+# old autoreconf/aclocal versions fail hard if m4 doesn't exist
+mkdir -p m4
autoreconf --force --install
echo "Now type './configure ...' and 'make' to compile."