From owner-freebsd-hackers Sat Dec 2 14:43:43 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA06584 for hackers-outgoing; Sat, 2 Dec 1995 14:43:43 -0800 Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id OAA06550 for ; Sat, 2 Dec 1995 14:43:22 -0800 Received: by sequent.kiae.su id AA00271 (5.65.kiae-2 ); Sun, 3 Dec 1995 01:32:40 +0300 Received: by sequent.KIAE.su (UUMAIL/2.0); Sun, 3 Dec 95 01:32:39 +0300 Received: (from ache@localhost) by ache.dialup.ru (8.6.12/8.6.12) id BAA01940; Sun, 3 Dec 1995 01:31:28 +0300 To: hackers@freefall.FreeBSD.org, "Kaleb S. KEITHLEY" References: <199512022025.UAA14567@exalt.x.org> In-Reply-To: <199512022025.UAA14567@exalt.x.org>; from "Kaleb S. KEITHLEY" at Sat, 02 Dec 1995 15:25:08 EDT Message-Id: Organization: Olahm Ha-Yetzirah Date: Sun, 3 Dec 1995 01:31:28 +0300 (MSK) X-Mailer: Mail/@ [v2.41 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: Minor change to make Lines: 40 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 1558 Sender: owner-hackers@FreeBSD.ORG Precedence: bulk In message <199512022025.UAA14567@exalt.x.org> Kaleb S. KEITHLEY writes: >> In message <199512021742.RAA14346@exalt.x.org> Kaleb S. KEITHLEY >> writes: >> >> >I want make to silently ignore a failure to find a .include file. The >> >reason I want this is because in the next release of X imake will generate >> >Makefiles that can use include files for dependencies if the system's make >> >supports it. >> >> >+ #if WANT_FATAL_INCLUDE_FAILURE >> > Parse_Error (PARSE_FATAL, "Could not find %s", file); >> >+ #endif >> >> Why not simple change PARSE_FATAL to PARSE_WARNING? >> I.e. this diagnostic prints (to help detect wrong includes), >> but it will be non-fatal. >Humbug. I don't want a build log filled with (more) nonsense warnings; >I've already got enough of those as it is. >It could emit a warning if make is run with "-d i" or something. Would >that make everyone happy? Default case must produce diagnostic. Our system Makefiles very depends on .included parts and can acts undetectable different when some parts are missing by typing error f.e. I have nothing against adding commandline option to _disable_ error or .sinclude as you originally suggest or something like .IGNORE_INCLUDES: target (I prefer this solution). -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - http://dt.demos.su/~ache : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849