summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-01 17:55:48 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-01 17:55:48 +0000
commit80d8b6affb2ee823cf18a368ab33535cb1cf1721 (patch)
tree3266cfd49fbf7a71ce36ce2021ce092291a45293 /autogen.sh
parentca43036f8cdd456ebff29860fd514248b3699bcf (diff)
Build system for xclock
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 "$@"
+