2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir
=.
7 (test -f $srcdir/configure.ac \
8 && test -f $srcdir/ChangeLog \
9 && test -d $srcdir/shell
) ||
{
10 echo -n "**Error**: Directory "\
`$srcdir\'" does not look like the"
11 echo " top-level evolution directory"
21 if test -z $variable; then
22 echo "*** No $1 found, please intall it ***" >&2
28 check_exists autoreconf
29 check_exists gtkdocize
30 check_exists intltoolize
32 m4dir=`autoconf
--trace 'AC_CONFIG_MACRO_DIR:$1'`
33 if [ -n "$m4dir" ]; then
37 aclocal -I m4 || exit $?
38 gtkdocize --copy || exit $?
39 intltoolize --force --copy --automake || exit $?
40 autoreconf --verbose --force --install -Wno-portability || exit $?
43 test -n "$NOCONFIGURE" || "$srcdir/configure" --enable-maintainer-mode "$@"