2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir=.
6 REQUIRED_AUTOMAKE_VERSION=1.8
9 (test -f $srcdir/configure.ac \
10 && test -f $srcdir/src/modest-main.c) || {
11 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
12 echo " top-level $PKG_NAME directory"
16 which gnome-autogen.sh || {
17 echo "You need to install gnome-common from GNOME CVS"
20 export USE_GNOME2_MACROS=1
23 echo "gnome autoconf does not work, trying the other way..."
25 glib-gettextize --copy --force
26 libtoolize --automake --copy --force
27 intltoolize --automake --copy --force
31 automake-1.8 --add-missing --copy --force-missing --foreign