]> git.draconx.ca Git - liblbx.git/blobdiff - autogen.sh
Add a simple script to help run all the autotools for the first time.
[liblbx.git] / autogen.sh
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."