[Mono-list] [patch] MacOSX autoconf/automake fixes

Paolo Molaro lupus@ximian.com
Wed, 28 Jan 2004 12:24:30 +0100


On 01/27/04 Andy Satori wrote:
> With the current AnonCVS snapshot on 10.3.2
> 
> autogen.sh still fails out of the gate, and must be worked around:
> 
> checking for pkg-config... /opt/local/bin/pkg-config
> ./configure: line 20045: syntax error near unexpected token 
> `BASE_DEPENDENCIES,'
> ./configure: line 20045: `PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 
> >= $GLIB_REQUIRED_VERSION)'

You need to setup ACLOCAL_FLAGS, since you have installed pkg-config in
a different prefix than your aclocal/automake/autoconf packages.
Running with:
ACLOCAL_FLAGS="-I /opt/local/share/aclocal/" ./autogen.sh
should work for you.

> modifying ./configure.in to skip this check results in a complete run

Of course you can't do that...

> make fullbuild fails:

Do not use make fullbuild. Just run make and make install if you're
using a snapshot.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better