From: Rafael L. <lab...@ps...> - 2003-01-28 10:38:23
|
I asked the question about unwanted calls to autoheader in the automake mailing list (aut...@gn...) and immediately somebody came with the solution. I prepared a patch (attached below) that should fix our problems and that keeps the separation of #defines between plConfig.h and plDevs.h as wished by Maurice. The patch is very small and changes the following files: 1) configure.ac: Defined AUTOHEADER="echo autoheader ignored". This is the magical thing, which gets propagated into the Makefile.in. With this, autoheader is never called when running make, not even by the developpers. Also, I changed the deprecated AM_CONFIG_HEADER to AC_CONFIG_HEADERS. 2) bootstrap.sh: Removed calls to "touch include/plConfig.h.in" and "autoheader". 3) include/plConfig.h.in: Removed all #undef PLD_*. since they are already in plDevs.h.in. I also strongly advise to remove that old acconfig.h from the CVS repository. -- Rafael |