From: Nick Bowler Date: Mon, 7 Jan 2008 00:40:40 +0000 (-0500) Subject: Add a simple script to help run all the autotools for the first time. X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/commitdiff_plain/b051c916dbcc015f75047b8b5d18a68367f5e7e1 Add a simple script to help run all the autotools for the first time. --- diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..b52b9c1 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +die() +{ + echo $@ 1>&2 + exit 1 +} + +aclocal --force || die "Failed to run aclocal." +autoheader --force || die "Failed to run autoheader." +libtoolize --force --copy || die "Failed to run libtoolize." +automake --force --add-missing || die "Failed to run automake." +autoconf --force || die "Failed to run autoconf."