summaryrefslogtreecommitdiff
path: root/app/xcalc/autogen.sh
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-09-12 11:34:25 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-09-12 11:34:25 +0000
commit93c837b612b4aa75ff7b6b545cac9a50282c3f12 (patch)
treeb6a2750b8b6510690d1584eec9c6a4fbff2d4654 /app/xcalc/autogen.sh
parent8a9250fb42cc7521cb35264fe502b83631c9ed02 (diff)
xcalc 1.0.2
Diffstat (limited to 'app/xcalc/autogen.sh')
-rw-r--r--app/xcalc/autogen.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/xcalc/autogen.sh b/app/xcalc/autogen.sh
new file mode 100644
index 000000000..e81f98910
--- /dev/null
+++ b/app/xcalc/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 "$@"
+