summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2005-08-10 11:17:07 +0000
committerDaniel Stone <daniel@fooishbar.org>2005-08-10 11:17:07 +0000
commita487143d0b4f0183d602346adc7dedcccf158336 (patch)
tree95aaefd95e278c95484df63331336f33df07aa1b /autogen.sh
parente3025b01b3fdd32bde8120dec1b0061e1449c6e9 (diff)
Add build system for sessreg, broken out from xdm.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..e81f989
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,13 @@
+#! /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 "$@"
+