Browse Source

[autobuild] use autoreconf instead of calling tools manually

From: Stefan Bühler <stbuehler@web.de>

git-svn-id: svn://svn.lighttpd.net/spawn-fcgi/trunk@61 4a9f3682-ca7b-49a8-9a55-ba4640e46f83
master
Stefan Bühler 7 years ago
parent
commit
d55a8fc778
  1. 1
      NEWS
  2. 22
      autogen.sh

1
NEWS

@ -8,6 +8,7 @@ NEWS
* Add -b backlog option (fixes #2422, patch by aschmitz)
* Restrict Unix socket file ownership by default to ug=rw
* Add example apparmor spawn-fcgi abstraction
* Use autoreconf instead of calling tools manually
- 1.6.3 - 2009-09-23
* Fix unix socket mode change to work without specifying user/group for socket

22
autogen.sh

@ -1,24 +1,12 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
ACLOCAL=${ACLOCAL:-aclocal}
AUTOHEADER=${AUTOHEADER:-autoheader}
AUTOMAKE=${AUTOMAKE:-automake}
AUTOMAKE_FLAGS="--add-missing --copy"
AUTOCONF=${AUTOCONF:-autoconf}
ARGV0=$0
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
run() {
echo "$ARGV0: running \`$@'"
$@
}
run $ACLOCAL $ACLOCAL_FLAGS
run $AUTOHEADER
run $AUTOMAKE $AUTOMAKE_FLAGS
run $AUTOCONF
autoreconf --force --install
echo "Now type './configure ...' and 'make' to compile."

Loading…
Cancel
Save