new autogen.sh from libradsec
authorLuke Howard <lukeh@padl.com>
Sat, 9 Oct 2010 13:39:22 +0000 (15:39 +0200)
committerLuke Howard <lukeh@padl.com>
Sat, 9 Oct 2010 13:39:22 +0000 (15:39 +0200)
autogen.sh

index 25bf74f..42cb684 100755 (executable)
@@ -1,3 +1,10 @@
-#!/bin/sh
-touch NEWS
-autoreconf --force --install
+#! /bin/sh
+if [ -x "`which autoreconf 2>/dev/null`" ] ; then
+   exec autoreconf -ivf
+fi
+
+aclocal -I m4 && \
+    autoheader && \
+    libtoolize --automake -c && \
+    autoconf && \
+    automake --add-missing --copy