autoconfiscate
[fw/stlink] / autogen.sh
diff --git a/autogen.sh b/autogen.sh
new file mode 100755 (executable)
index 0000000..3a76a11
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+if test ! "x$(which libtoolize)" = "x"; then
+  echo "Running libtoolize"
+  libtoolize --copy --force --automake
+else
+  if test ! "x$(which gintltoolize)" = "x"; then
+    echo "Running glibtoolize"
+    glibtoolize --copy --force --automake
+  fi
+fi
+autoreconf --install --force --verbose