* 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
