bug-hello
[Top][All Lists]
Advanced

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

(not) building hello with makepp


From: Daniel Pfeiffer
Subject: (not) building hello with makepp
Date: Tue, 07 Dec 2010 07:48:55 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.4) Gecko/20100608 Mnenhy/0.8.3 Thunderbird/3.1

 Hi,

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 automake...

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
Daniel Pfeiffer

--
lerne / learn / apprends / lär dig / ucz się    Esperanto:
                    http://lernu.net   /http://ikurso.net



reply via email to

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