On Tue, Jan 18, 2000 at 11:47:27PM +1100, Bruce Evans wrote:
> On Tue, 18 Jan 2000, Ruslan Ermilov wrote:
> 
> > On Tue, Jan 18, 2000 at 12:31:18PM +0200, Sheldon Hearn wrote:
> > > 
> > > 
> > > On Tue, 18 Jan 2000 19:14:19 +0900, Munehiro Matsuda wrote:
> > > 
> > > > It seems that texinfo is compiled as cross-tools for buildworld.
> > > > But, is it really needed when -DNOINFO has been specified?
> > > 
> > > It's arguable, so I'd go with the status quo -- always build and install
> > > the texinfo program, even if info files are not to be installed.
> 
> The patch is a (small) optimization.  It happens to avoid the bug when
> NOINFO is set for the whole world.
> 
> > The problem is that `{bootstrap,cross}-tools' are always built with
> > -DNOINFO, and thus there is no way to determine wherher the user
> > explicitly requested -DNOINFO or not.
> 
> Not a problem.  Only Makefile.1 needs to know whether the user set it.
> 
How's that not a problem?  The current Makefile.inc1 is written so,
that bootstrap-tools are built with:

BMAKE=${BMAKEENV} ${MAKE} -f Makefile.inc1 -DNOMAN -DNOINFO -DNOHTML
                                                   ^^^^^^^^

So, how inside the Makefile.inc1's bootstrap-tools: target I could know
whether the user requested NOINFO, or Makefile.inc1 itself?

-- 
Ruslan Ermilov          Sysadmin and DBA of the
[EMAIL PROTECTED]        United Commercial Bank,
[EMAIL PROTECTED]          FreeBSD committer,
+380.652.247.647        Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to