Merge remote-tracking branch 'origin/master'
[mech_eap.orig] / autogen.sh
index 25bf74f..13432d0 100755 (executable)
@@ -1,3 +1,16 @@
 #!/bin/sh
-touch NEWS
-autoreconf --force --install
+#
+# Regenerate autotools files.
+#
+
+PATH=/usr/local/bin:$PATH
+
+if [ -x "`which autoreconf 2>/dev/null`" ] ; then
+   exec autoreconf -ivf
+fi
+
+aclocal -I . -I m4 && \
+    autoheader && \
+    libtoolize --automake -c && \
+    autoconf && \
+    automake --add-missing --copy