update to openismus-work-3-8 branch
[platform/upstream/evolution-data-server.git] / autogen.sh
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
3
4 srcdir=`dirname $0`
5 test -z "$srcdir" && srcdir=.
6
7 PKG_NAME="evolution-data-server"
8 REQUIRED_AUTOCONF_VERSION=2.58
9 REQUIRED_AUTOMAKE_VERSION=1.10
10 REQUIRED_LIBTOOL_VERSION=2.2
11 REQUIRED_INTLTOOL_VERSION=0.35.5
12
13 (test -f $srcdir/configure.ac \
14   && test -f $srcdir/ChangeLog \
15   && test -d $srcdir/calendar) || {
16     echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
17     echo " top-level $PKG_NAME directory"
18     exit 1
19 }
20
21 which gnome-autogen.sh || {
22     echo "You need to install gnome-common from the GNOME CVS"
23     exit 1
24 }
25
26 USE_GNOME2_MACROS=1 . gnome-autogen.sh