From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aron Griffis Subject: Re: [PATCH][TOOLS] libfsimage: portability fixes Date: Thu, 27 Mar 2008 11:56:58 -0400 Message-ID: <20080327155657.GG21257@fc.hp.com> References: <200803261514.33378.Christoph.Egger@amd.com> <20080327150531.GE21257@fc.hp.com> <18411.47525.808081.832249@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <18411.47525.808081.832249@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: Christoph Egger , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Ian Jackson wrote: [Thu Mar 27 2008, 11:13:41AM EDT] > ${VARIABLE:-defaultvalue} is in SuSv3 (section 2.6.2, `Use Default > Values') and has been in many previous standards. Any system whose > /bin/sh can't cope is hopelessly broken. Ah, great. > > ${CC-cc} -o ext2-test ext2-test.c -lext2fs >/dev/null 2>&1 > > However, in this case, ${VARIABLE-defaultvalue} is an adequate > substitute so we should use that. With a default of gcc, since > without gcc you're doomed anyway. Okay, thanks.