summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2009-01-13 18:25:35 -0800
committerDan Nicholson <dbn.lists@gmail.com>2009-03-19 10:47:15 -0700
commitb58a95d037d2b4c7b5b6166684d6670f381f55a2 (patch)
tree74cd141f5edb2f63507df7cc36fb17867d2efdc6 /autogen.sh
downloadlibxkbcommon-b58a95d037d2b4c7b5b6166684d6670f381f55a2.tar.gz
libxkbcommon-b58a95d037d2b4c7b5b6166684d6670f381f55a2.tar.bz2
libxkbcommon-b58a95d037d2b4c7b5b6166684d6670f381f55a2.zip
Initial autotools commit
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 "$@"