summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorChangyeon Lee <cyeon.lee@samsung.com>2014-04-17 14:39:53 +0900
committerChangyeon Lee <cyeon.lee@samsung.com>2014-04-17 14:46:26 +0900
commit0d14ae7c1368e74b6244b07580b90d268dba0a64 (patch)
tree77f3112e170f4d94828a86b8124df1ff46458111 /autogen.sh
parente073443cb207e4b064206802c2acd46d21e47c02 (diff)
parent83e84e4894946a89a852bd73ca342369c5e5faf8 (diff)
downloadxhost-acfa1b33b7dcf6a88aa7fbb0ef5c648e19530619.tar.gz
xhost-acfa1b33b7dcf6a88aa7fbb0ef5c648e19530619.tar.bz2
xhost-acfa1b33b7dcf6a88aa7fbb0ef5c648e19530619.zip
Change-Id: I76179e1cad0e77297b84687a1de40db8f1690fc7 Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
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 "$@"
+