summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorChristoph Brill <egore911@egore911.de>2008-06-06 20:08:34 +0200
committerChristoph Brill <egore911@egore911.de>2008-06-06 20:08:34 +0200
commitb95828616376e81b9b6bf4689b3033de3f1e8a47 (patch)
treeb92829f1070d9303d666eb0f8872b50697d72a61 /autogen.sh
parent8c9f88c7fa9b800574cfa834103a3a9cbf02053d (diff)
Add the autogen.sh from xf86-input-evdev.
We will use a similar buildsystem now.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..904cd67
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"