From ff86b5cc67a8edad40ab755cd30bb942c13a34d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Sun, 10 Nov 2013 13:59:43 +0000 Subject: [autobuild] create m4/ before calling autoreconf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Stefan Bühler git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2917 152afb58-edef-0310-8abb-c4023f1b3aa9 --- autogen.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'autogen.sh') 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." -- cgit v1.2.1