[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make syntax $(srcdir) in Makefile.am problem
From: |
Ralf Wildenhues |
Subject: |
Re: Make syntax $(srcdir) in Makefile.am 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/Makefile.am:52: shell cat $(srcdir: non-POSIX variable name
> priv/Makefile.am:52: (probably a GNU make extension)
Unless -Werror, that should be a warning only. You can use
-Wno-portability.
> Makefile.am 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.
Cheers,
Ralf