automake
[Top][All Lists]
Advanced

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

Re: pattern rules


From: Ralf Wildenhues
Subject: Re: pattern rules
Date: Thu, 27 Mar 2008 13:11:57 +0100
User-agent: Mutt/1.5.17 (2008-03-09)

* 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: 1

> Is 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]