Fix issues detected by static analysis tool
[platform/upstream/libxkbcommon.git] / autogen.sh
1 #!/bin/sh -e
2
3 srcdir=`dirname "$0"`
4 test -z "$srcdir" && srcdir=.
5
6 ORIGDIR=`pwd`
7 cd "$srcdir"
8
9 autoreconf --verbose --install --force --warnings=all
10 cd "$ORIGDIR"
11
12 if test -z "$NOCONFIGURE"; then
13     exec "$srcdir/configure" "$@"
14 fi