Git init
[profile/ivi/libsoup2.4.git] / autogen.sh
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
3 REQUIRED_AUTOMAKE_VERSION=1.9
4
5 srcdir=`dirname $0`
6 test -z "$srcdir" && srcdir=.
7
8 PKG_NAME="libsoup"
9
10 (test -f $srcdir/configure.ac \
11   && test -f $srcdir/libsoup.doap \
12   && test -d $srcdir/libsoup) || {
13     echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
14     echo " top-level $PKG_NAME directory"
15     exit 1
16 }
17
18 which gnome-autogen.sh || {
19     echo "You need to install gnome-common from the GNOME CVS"
20     exit 1
21 }
22 USE_GNOME2_MACROS=1 . gnome-autogen.sh