Malcolm,
On 2006 Feb 25 , at 03.40, Malcolm J. Currie wrote:
> Now I can't even make "./configure -C" work. There is an
> undefined PREFIX token. It first showed during "make world" for
> tclsys/tclx.
Have you at some point run autoconf in the top-level directory?
The top-level configure.ac sets the default prefix to be %%PREFIX%
%. ./bootstrap runs autoconf, and then at the _end_ of that script,
after it's created starconf, it substitutes %%PREFIX%% to be the
'starconf --show STARCONF_DEFAULT_PREFIX'.
That dummy prefix _shouldn't_ be propagated to subdirectories, and
appears not to be (in my tree), but I wouldn't like to claim that it
_cannot_ be. Are you saying that the unsubstituted prefix has made
its way into the tclsys ./configure file (I'm not sure what directory
you're in in your message)?
I'd like to substitute the dummy prefix a little earlier in ./
bootstrap, but can do that only at the cost of some marginal increase
in cunning, which that script is not currently short of. If you've
found a way of breaking this, however, I can harden the script
appropriately -- no problem.
I've modified configure.ac so that the generated ./configure traps
the case where the prefix has not been substituted (someone has run
autoconf outside of ./bootstrap), and indicates what to do; and I've
improved the explanation in ./bootstrap.
See you,
Norman
--
------------------------------------------------------------------------
----
Norman Gray / http://nxg.me.uk
eurovotech.org / University of Leicester, UK
|