[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] linux-2.6.18-xen.hg: check that awk supports 'gensub' command


  • To: Jan Beulich <jbeulich@xxxxxxxxxx>, Michael Abd-El-Malek <mabdelmalek@xxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Wed, 10 Oct 2007 09:47:47 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 10 Oct 2007 01:43:24 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcgLGjsuebCH5XcNEdy7uwAWy6hiGQ==
  • Thread-topic: [Xen-devel] [PATCH] linux-2.6.18-xen.hg: check that awk supports 'gensub' command

On 10/10/07 08:54, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

>>>> Michael Abd-El-Malek <mabdelmalek@xxxxxxx> 10.10.07 04:53 >>>
>> The linux-2.6.18-xen.hg/scripts/Makefile.xen.awk script depends on the
>> GNU AWK-specific function "gensub".  If another awk is used (e.g.,
>> Debian installs mawk by default), the lack of gensub trickles down to
>> cause the -xen.c files to not be compiled.  This was time-consuming to
>> track.  So we should check that the awk program supports 'gensub'.
>> 
>> Signed-off-by: Michael Abd-El-Malek <mabdelmalek@xxxxxxx>
> 
> Hmm, this seems odd: If I try to use an arbitrary function (with gawk) , I get
> a
> failure, which should prevent make from continuing the build. Are you saying
> this isn't happening for you? Have you determined why?

The implication seems to be that other awk implementations (most likely mawk
in this case) silently continue.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.