|
From: | Ralf Hemmecke |
Subject: | Re: pattern rules |
Date: | Thu, 27 Mar 2008 13:31:36 +0100 |
User-agent: | Thunderbird 2.0.0.12 (X11/20080213) |
On 03/27/2008 01:11 PM, Ralf Wildenhues wrote:
* Ralf Hemmecke wrote on Thu, Mar 27, 2008 at 12:05:34PM CET:Makefile.am:8: `%'-style pattern rules are a GNU make extension autoreconf: automake failed with exit status: 1Is there something wrong with AM_INIT_AUTOMAKE([-Wall -Werror])As of Automake 1.10, -Wall includes -Wportability. So use -Wall -Wno-portability -Werror instead. Quoting from NEWS: | - `-Wportability' has finally been turned on by default for `gnu' and | `gnits' strictness. This means, automake will complain about %-rules | or $(GNU Make functions) unless you switch to `foreign' strictness or | use `-Wno-portability'. Cheers, Ralf
Thank you. But what exactly is -Wno-portability allowing?---BEGIN quote from http://sources.redhat.com/automake/automake.html#Invoking-Automake
-W CATEGORY --warnings=category Output warnings falling in category. category can be one of: ... portability portability issues (e.g., use of make features that are known to be not portable) ---END quoteIt is not so clear what this relates to. Is it only related to the 'make' program or also some portability issues outside of it? In other words, can I simply say "no-portability" and don't relax strictness in places not related to GNU make features?
The "e.g." in the above documentation bothers me. What else would automake *not* complain about if I use "no-portability"?
Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |