summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorDoohwan Kim <dh8210.kim@samsung.com>2015-02-26 17:39:16 +0900
committerDoohwan Kim <dh8210.kim@samsung.com>2015-02-26 17:39:45 +0900
commitda07ee69267b4557028357eae802d2a7a57c34e7 (patch)
tree02a5d7590fc35cd3ad08aa8894ca5f32947a1da1 /bootstrap
parent34c41c0eecd122a3dd92b30f30267ea4d951343a (diff)
downloadmurphy-tizen_3.0.2015.q1_common.tar.gz
murphy-tizen_3.0.2015.q1_common.tar.bz2
murphy-tizen_3.0.2015.q1_common.zip
Signed-off-by: Doohwan Kim <dh8210.kim@samsung.com> Change-Id: I2ad7e23e121506673a724f512fea429489928451
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap21
1 files changed, 21 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
new file mode 100755
index 0000000..ac327fd
--- /dev/null
+++ b/bootstrap
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+aclocal -I m4 && \
+ autoheader && \
+ libtoolize --copy --force && \
+ autoconf && \
+ automake --add-missing --copy
+
+status=$?
+
+if [ $status == 0 ]; then
+ if [ -n "$1" ]; then
+ [ "$1" == "configure" ] && shift || :
+ ./configure $*
+ status=$?
+ fi
+else
+ echo "Failed to bootstrap."
+fi
+
+exit $status