[2.28] bump dbus and dbus-glib to their latest stable versions
[jhbuild/xnox.git] / autogen.sh
blobaa4c75f1ca756a478cf3f9ecc7d4e799d9cd994d
1 #! /bin/sh
2 # Run this to generate all the initial makefiles, etc.
4 srcdir=`dirname $0`
5 test -z "$srcdir" && srcdir=.
7 PKG_NAME=jhbuild
9 (test -f $srcdir/jhbuild/main.py) || {
10 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
11 echo " top-level $PKG_NAME directory"
12 exit 1
15 which gnome-autogen.sh || {
16 echo "If you want to build documentation, you need to install gnome-common"
17 echo "from the GNOME Subversion."
18 echo "If you don't, try:"
19 echo " make -f Makefile.plain install"
21 exit 1
24 touch $srcdir/ChangeLog # required for automake
26 export PKG_NAME
27 REQUIRED_AUTOCONF_VERSION=2.57 \
28 REQUIRED_AUTOMAKE_VERSION=1.8 \
29 REQUIRED_INTLTOOL_VERSION=0.35.0 \
30 REQUIRED_PKG_CONFIG_VERSION=0.16.0 \
31 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes gnome-autogen.sh $@
32 if test "$?" != "0"
33 then
34 cat << _EOF_
36 Note that autotools are only required to build documentation;
37 type make -f Makefile.plain to build or install JHBuild without
38 the documentation
39 _EOF_