[Top][All Lists]

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

Re: Make syntax $(srcdir) in problem

From: Ralf Wildenhues
Subject: Re: Make syntax $(srcdir) in problem
Date: Tue, 12 Feb 2008 16:44:51 +0100
User-agent: Mutt/1.5.17 (2008-01-17)

* db wrote on Tue, Feb 12, 2008 at 04:39:58PM CET:
> I am trying to run automake command in Fedora 7 (automake 1.10).  Automake
> fails due to GNU make extension:
> priv/ shell cat $(srcdir: non-POSIX variable name
> priv/ (probably a GNU make extension)

Unless -Werror, that should be a warning only.  You can use

> content, where the problem is:
> $(shell cat $(srcdir)/test_con.txt)
> This means you can't have gnu make $(srcdir) syntax?

Automake cannot understand most of it.  But most of it it can skip
without getting too confused.

> When I do automake on Fedora 6 which has automake 1.9.6, all seem to be
> fine.

That's probably because 1.9.6 did not enable -Wportability by default.


reply via email to

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