From owner-freebsd-hackers Fri Apr 21 22:29:55 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA08828 for hackers-outgoing; Fri, 21 Apr 1995 22:29:55 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id WAA08822 ; Fri, 21 Apr 1995 22:29:52 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id WAA00958; Fri, 21 Apr 1995 22:26:46 -0700 From: "Rodney W. Grimes" Message-Id: <199504220526.WAA00958@gndrsh.aac.dev.com> Subject: Re: Any objection to adding a .undef(VARNAME) to make? To: peter@bonkers.taronga.com (Peter da Silva) Date: Fri, 21 Apr 1995 22:26:46 -0700 (PDT) Cc: nate@trout.sri.MT.net, jkh@freefall.cdrom.com, hackers@freefall.cdrom.com In-Reply-To: <199504220339.WAA06361@bonkers.taronga.com> from "Peter da Silva" at Apr 21, 95 10:39:20 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 640 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > > FOO= 1 > > > FOO= undefined > > How about just: > > FOO= > > make an empty definition undefined. Undefineds are treated as empty in make > anyway. It would also match the way .SUFFIXES: works. That is in ``make'', read the psd:12 manual for the difference between undefined and variables that are empty, it is different in pmake. I have not verified that our make truely follows the pmake manual in this regard, but I do seem to recall having some trouble in this area. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD