summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Richter <thomas.richter@iis.fraunhofer.de>2021-09-10 09:10:29 +0200
committerThomas Richter <thomas.richter@iis.fraunhofer.de>2021-09-10 09:10:29 +0200
commitf468cbec20d035e1fb0db1da2ec5a39fd64cb596 (patch)
tree6b54f6864813627590d6d8cc253d9decaed6c43b
parent90658673101b49bbdbff2b9c2670df33c02c8a5e (diff)
Added the autogen boilerplate script.
-rwxr-xr-xautogen.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..fc34bd5
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+if test -z "$NOCONFIGURE"; then
+ $srcdir/configure "$@"
+fi