Re: [Help] Autoconf problems when trying to build WordNet 3.0 package
On Wednesday 27 June 2007 16:45:06 pm Andreas Tille wrote:
> On Wed, 27 Jun 2007, Ben Pfaff wrote:
> > OK, I can see now that /usr/lib/tk8.4/tkConfig.sh sets TK_PREFIX
> > in the environment of "configure". But what is meant to
> > propagate this environment variable into the Makefile? I don't
> > see anything intended to do that. Autoconf does not
> > automatically propagate all environment variables from
> > "configure" into Makefiles (nor should it).
> >
> > It looks to me like there's a missing piece in the build system.
>
> Yes, you both seem to come to the same conclusion as I myself - but
> I have no idea how to fix this. There must be some trick to propagate
> these variables, but how? I've got no clue out of reading the
> texinfo docs.
For example, AC_SUBST(TK_PREFIX), then make sure Makefile.in has a line
TK_PREFIX = @TK_PREFIX@
-- unless it's generated by automake, which will put in lines like that
automatically.
--
Daniel Schepler
Reply to: