diff options
Diffstat (limited to 'autogen.sh')
-rw-r--r-- | autogen.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh new file mode 100644 index 00000000..f578a3dd --- /dev/null +++ b/autogen.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +[ -z "$AUTOMAKE_VERSION" ] && export AUTOMAKE_VERSION=1.10 +[ -z "$AUTOCONF_VERSION" ] && export AUTOCONF_VERSION=2.65 + +die() +{ + echo "$@" >&2 + exit 1 +} + +mkdir -p etc +aclocal || die "aclocal failed" +automake --add-missing --force-missing --copy --foreign || die "automake failed" +autoreconf || die "autoreconf failed" |