I am currently getting makepp <makepp.sf.net> fit for V2.0 and one of the
tasks is to make true on the promise of gmake compatibility. I have sorted
out two minor incompatibilities with autotools but am now facing something harder:
The premise of makepp is a 100% reliable build. For this it scans all sources
to have a complete list of dependencies. (There are many other features like
signature based build decisions, but they are not important here.)
The point is gnulib as embedded in hello offers rules to make alternate
versions of many standard header files. Gmake ignores these unless
specifically being requested to build them. Makepp otoh. finds that they are
needed in the sources, so it tries to build them in the first possible
directory where the compiler would look for them, i.e. the ones provided by
you. Alas they cause compiler errors on Gnu/Linux.
My request is to write the Makefile.am so that only the rules for needed
headers get copied to Makefile. Alas I am good at Makefiles but not at
Alternately surround each rule with an ifndef HAVE_foobar_H. That would break
portability to other Posix makes, though you also use Gnu fileutils specific
options, so that doesn't seem to be an issue.
coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
GNU Hello is written to be an example GNU package, that is, to do things
in a recommended minimal-future-maintenance way. Therefore it uses
Automake and Gnulib, among other things, and the top-level Makefile.am
is as simple as possible. There is no way to insert such ifndef's even
if I wanted to, which I don't. Sorry.
It sounds like your project simply won't work with the way Gnulib is
written. If you want to discuss that, bug-gnulib@... is the place
to do it.