From owner-freebsd-current Tue Jan 18 5:20: 6 2000 Delivered-To: freebsd-current@freebsd.org Received: from relay.ucb.crimea.ua (UCB-Async4-CRISCO.CRIS.NET [212.110.129.130]) by hub.freebsd.org (Postfix) with ESMTP id 631B814C0A; Tue, 18 Jan 2000 05:19:38 -0800 (PST) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id PAA17054; Tue, 18 Jan 2000 15:20:12 +0200 (EET) (envelope-from ru) Date: Tue, 18 Jan 2000 15:20:12 +0200 From: Ruslan Ermilov To: Bruce Evans Cc: Sheldon Hearn , marcel@FreeBSD.ORG, Munehiro Matsuda , freebsd-current@FreeBSD.ORG Subject: Re: Is texinfo needed for buildworld with -DNOINFO ? Message-ID: <20000118152012.A15591@relay.ucb.crimea.ua> Mail-Followup-To: Bruce Evans , Sheldon Hearn , marcel@FreeBSD.ORG, Munehiro Matsuda , freebsd-current@FreeBSD.ORG References: <20000118125239.B70394@relay.ucb.crimea.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Bruce Evans on Tue, Jan 18, 2000 at 11:47:27PM +1100 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message