]> git.draconx.ca Git - liblbx.git/commitdiff
Add a simple script to help run all the autotools for the first time.
authorNick Bowler <draconx@gmail.com>
Mon, 7 Jan 2008 00:40:40 +0000 (19:40 -0500)
committerNick Bowler <draconx@gmail.com>
Mon, 7 Jan 2008 00:40:40 +0000 (19:40 -0500)
autogen.sh [new file with mode: 0755]

diff --git a/autogen.sh b/autogen.sh
new file mode 100755 (executable)
index 0000000..b52b9c1
--- /dev/null
@@ -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."