Patching gnucash to take advantage of g-wrap 0.9.8

Dave Peticolas
Wed, 01 Nov 2000 22:13:05 -0800

Robert Graham Merkel writes:
> Dave, 
>       the new version of g-wrap (0.9.8) contains a couple of autoconf
> macros in a a file g-wrap.m4, which gets installed into
> {prefix}/share/aclocal.  On my machines that's
> /usr/local/share/aclocal, but just to check I've created a symlink 
> to /usr/share/aclocal, and it doesn't seem to matter for the
> discussion below.
> I've modified CVS's makefile to support this change, and it seems to
> do the job (could still do with somebody who knows autoconf better to
> clean it up, though).  However, when I run autoconf on 1.4.8 I get the
> following:
> <trell> ~/programming/gnc/gnucash-1.4.8 : autoconf
> warning: AC_TRY_RUN called without default to allow cross co
> mpiling
> autoconf: Undefined macros:
> Obviously, autoconf isn't seeing g-wrap.m4, but when is
> called from CVS gnucash, it's not a problem.  Any idea what's going on?

I think it's because first runs aclocal, which would
collect the definition of AC_GWRAP_CHECK_GUILE into aclocal.m4.