Modified cache checking to remove unnecessary debugging log
[platform/upstream/libsoup.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 intall it ***"
13         exit 1
14 fi
15
16 INTLTOOLIZE=`which intltoolize`
17 if test -z $INTLTOOLIZE; then
18         echo "*** No intltoolize found, please install the intltool package ***"
19         exit 1
20 fi
21
22 #GTKDOCIZE=`which gtkdocize`
23 #if test -z $GTKDOCIZE; then
24 #        echo "*** No GTK-Doc found, please install it ***"
25 #        exit 1
26 #fi
27
28 #gtkdocize || exit $?
29 intltoolize --automake --copy
30 autoreconf --force --install --verbose
31
32 cd $olddir
33 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"