From: Rafael L. <lab...@ps...> - 2003-01-28 08:29:55
|
* Maurice LeBrun <mj...@ga...> [2003-01-27 17:41]: > BTW I tried this suggestiong but found that AC_CONFIG_HEADERS doesn't solve > the problem at hand.. I still get: > > Making all in include > cd .. && /bin/sh /home/mjl/dev/plplot/latest/missing --run autoheader You are right. I investigated this issue more deeply and discovered that Automake always include in include/Makefile.in a rule for rebuilding the files defined in AC_CONFIG_HEADERS using autoheader. For now, I did not discover how to disable this. Now, if the call to autoheader that you metion above only happens for developper, that is okay, since it will be harmless. What is very important for us right now is to get a source tarball for which autoheader is not called when users run configure/make. > This stuff is mostly orthogonal to the stuff I was looking at, which > included: > [...] > - separation of internal-use-only configuration info from headers exported > to the public namespace > - proper include guards for headers > > The latter one does overlap with the plConfig.h / plDevs.h problem tho. Since you are reluctant to incorporate plDevs.h into plConfig.h (and I understand your arguments), we must find a way to get the Autotools (in this case Automake specifically) to behave correctly with two configuration header files. One of the things that is strange now is that all the PLD_* #defines are duplicated in plConfig.h.in and plDevs.h.in. That is possibly a screw-up of mine in the past. -- Rafael |