Fixed license file path
[platform/upstream/glib-networking.git] / autogen.sh
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
3
4 test -n "$srcdir" || srcdir=`dirname "$0"`
5 test -n "$srcdir" || srcdir=.
6
7 olddir=`pwd`
8 cd "$srcdir"
9
10 AUTORECONF=`which autoreconf`
11 if test -z $AUTORECONF; then
12         echo "*** No autoreconf found, please install it ***"
13         exit 1
14 fi
15
16 mkdir -p m4
17 autoreconf --force --install --verbose || exit $?
18 intltoolize --copy --force --automake || exit $?
19
20 cd "$olddir"
21 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"