2 # Run this to generate all the initial makefiles, etc.
5 test -z "$srcdir" && srcdir
=.
8 ACLOCAL_FLAGS
="$ACLOCAL_FLAGS -I m4"
9 REQUIRED_AUTOCONF_VERSION
=2.60
10 REQUIRED_AUTOMAKE_VERSION
=1.9.2
11 REQUIRED_MACROS
="python.m4"
13 (test -f $srcdir/configure.ac \
14 && test -f $srcdir/autogen.sh
) ||
{
15 echo -n "**Error**: Directory "\
`$srcdir\'" does not look like the"
16 echo " top-level $PKG_NAME directory"
25 ifs_save="$IFS"; IFS=":"
27 test -z "$dir" && dir=.
28 if test -f $dir/gnome-autogen.sh ; then
29 gnome_autogen="$dir/gnome-autogen.sh"
30 gnome_datadir=`echo $dir |
sed -e 's,/bin$,/share,'`
36 if test -z "$gnome_autogen" ; then
37 echo "You need to install the gnome-common module and make"
38 echo "sure the gnome-autogen.sh script is in your \$PATH."
42 GNOME_DATADIR="$gnome_datadir" USE_GNOME2_MACROS=1 . $gnome_autogen