system-controller: fix user name handling.
[profile/ivi/murphy.git] / bootstrap
1 #!/bin/bash
2
3 aclocal -I m4 && \
4     autoheader && \
5         libtoolize --copy --force && \
6             autoconf && \
7                 automake --add-missing --copy
8
9 status=$?
10
11 if [ $status == 0 ]; then
12     if [ -n "$1" ]; then
13         [ "$1" == "configure" ] && shift || :
14         ./configure $*
15         status=$?
16     fi
17 else
18     echo "Failed to bootstrap."
19 fi
20
21 exit $status