From: Mike Frysinger <vapier@gentoo.org>
To: Matt Helsley <matthltc@us.ibm.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] LTP 20091031 Makefiles totally broken?!?
Date: Fri, 6 Nov 2009 18:09:04 -0500 [thread overview]
Message-ID: <200911061809.05115.vapier@gentoo.org> (raw)
In-Reply-To: <20091106230231.GC26614@count0.beaverton.ibm.com>
[-- Attachment #1.1: Type: Text/Plain, Size: 1748 bytes --]
On Friday 06 November 2009 18:02:31 Matt Helsley wrote:
> On Fri, Nov 06, 2009 at 03:09:02PM -0400, Mike Frysinger wrote:
> > On Friday 06 November 2009 13:04:51 Garrett Cooper wrote:
> > > As I just wrote in the INSTALL file after the release (I apologize for
> > > not catching this beforehand, but all of the systems I use -- Fedora,
> > > Gentoo, RHEL 4 update 6, Ubuntu -- have make 3.81):
> >
> > hrm, it sucks to not support make 3.80. while make 3.81 has been out for
> > three years now, make 3.80 support would increase the coverage to 8
> > years. but if you've looked at the situation and found 3.80 support to be
> > non trivial, i wont whine too loud.
> >
> > > In order to compile and use pan, you must have bison/yacc, flex, and
> > > make 3.81+ installed.
> >
> > if we're forcing make-3.81+, then make it explicit:
> > ifneq ($(findstring x3.7,x$(MAKE_VERSION)),)
>
> This snippet might work better than findstring. If the make version is
> greater than or equal to 3.81 then NEED_NEWER_MAKE is n:
>
> NEED_NEWER_MAKE := n
> MAX_VERSION := $(shell echo 3.81 $(MAKE_VERSION) | xargs -r -n 1 | sort -V
> -r | head -n 1)
this involves executing a shell and a lot of external utilities. my version
requires an internal make string search. anything that involves $(shell) here
is going to be worse.
> > also, i thought we were going to rename the top level Makefile to
> > GNUmakefile and add a dummy Makefile that just spat out "sorry, ltp
> > requires GNU make".
>
> Bleh. Can't we just check the output of $(MAKE) --version rather than
> assume other makes use "Makefile"?
the assumption is that only GNU make parses "GNUmakefile". i think that's a
pretty safe assumption.
-mike
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 354 bytes --]
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2009-11-06 23:07 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-06 9:57 [LTP] LTP 20091031 Makefiles totally broken?!? Andi Kleen
2009-11-06 11:16 ` Mike Frysinger
2009-11-06 13:09 ` Andi Kleen
2009-11-06 13:21 ` Mike Frysinger
2009-11-06 18:04 ` Garrett Cooper
2009-11-06 18:23 ` Garrett Cooper
2009-11-06 19:09 ` Mike Frysinger
2009-11-06 19:17 ` Andi Kleen
2009-11-09 13:15 ` Cyril Hrubis
2009-11-06 23:02 ` Matt Helsley
2009-11-06 23:09 ` Mike Frysinger [this message]
2009-11-06 23:34 ` Matt Helsley
2009-11-07 0:23 ` Mike Frysinger
2009-11-07 0:52 ` Garrett Cooper
2009-11-07 0:54 ` Garrett Cooper
2009-11-08 2:09 ` Garrett Cooper
2009-11-08 20:02 ` Garrett Cooper
2009-11-09 18:01 ` Garrett Cooper
2009-11-06 19:13 ` Andi Kleen
2009-11-06 19:39 ` Mike Frysinger
2009-11-06 19:44 ` Garrett Cooper
2009-11-06 19:53 ` Mike Frysinger
2009-11-06 19:50 ` Andi Kleen
2009-11-06 19:58 ` Mike Frysinger
2009-11-06 20:04 ` Mike Frysinger
2009-11-06 19:43 ` Nate Straz
2009-11-06 19:59 ` Andi Kleen
2009-11-06 20:25 ` Garrett Cooper
2009-11-06 21:02 ` Andi Kleen
2009-11-06 21:12 ` Mike Frysinger
2009-11-06 21:45 ` Andi Kleen
2009-11-06 21:59 ` Garrett Cooper
2009-11-06 22:47 ` Andi Kleen
2009-11-06 23:03 ` Nate Straz
2009-11-06 22:46 ` Mike Frysinger
2009-11-06 21:47 ` Garrett Cooper
2009-11-06 21:57 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200911061809.05115.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=ltp-list@lists.sourceforge.net \
--cc=matthltc@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.