On 2013-01-31 17:19 +0000, Rudra Banerjee wrote: > While trying to complie a package, automake gives a lot of Warning > about gnome-doc-utils.make. > It looks like: > $ autoreconf --install > gnome-doc-utils.make:74: warning: if $(DOC_H_FILE: non-POSIX variable > name > gnome-doc-utils.make:74: (probably a GNU make extension) > help/Makefile.am:20: 'gnome-doc-utils.make' included from here [snip lots of warnings]
This doesn't really look like an Automake problem; when portability warnings are enabled, Automake will attempt to diagnose non-portable make constructs in your makefiles. The gnome-doc-utils snippet appears to make no effort to be portable to anything other than GNU make, so it is triggering lots of these warnings. If you care about make portability, then you should not use the gnome-doc-utils snippet. If you don't care, then you can disable the portability warnings in your package with -Wno-portability. Cheers, -- Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)