2009/2/19 Bruno Haible <br...@clisp.org>: > [Re-adding bug-gnulib in CC. This is a reply to a reply to > <http://lists.gnu.org/archive/html/bug-gnulib/2009-01/msg00313.html>.]
Thanks, I'm currently catching up with over 4 months of mailing lists, and probably not paying as much attention to those details as I should! :( > Hi Gary, Howdy Bruno, > Gary V. Vaughan wrote: >> 2009/1/24 Bruno Haible <br...@clisp.org>: >> > Gary V. Vaughan wrote: >> >> !THE FOLLOWING IS A REGRESSION OVER m4-1.4.12, WHICH COMPILES AND >> >> PASSES ALL TESTS! >> $ ./configure CC="cc -nodtk" and CFLAGS="-O2 -msym -readonly_strings" >> ... >> cc -nodtk -std -std -I. -I../lib -I. -I. -I.. -I./.. -I../lib >> -I./../lib -ieee -O2 -msym -readonly_strings -c test-wctype.c >> >> But now, everything is compiled with 'cc -nodtk -std -std -ieee...', >> and -nodtk seems to turn off #include_next support, neither of which >> seems exactly right. > > The result is perfect. Who cares whether the gnulib uses include_next > or not, if the package compiles fine? Well, the *net* result is good enough. It would be better if autoconf didn't add -std to CFLAGS twice though... >> However, it turns out that I can get a cleaner looking build that >> passes tests by helping gnulib discover that inttypes.h does not >> compile: >> >> $ ./configure CC=cc CFLAGS="-O2 -msym -readonly_strings" \ >> ac_cv_header_inttypes_h=no >> >> Still seems like a regression over 1.4.12 to me :-b > > It's not a regression because you are supposed to use the -nodtk option > if you encounter problems with the DTK compiler and its header files. It's > documented in the INSTALL file (see gnulib/doc/INSTALL*). I had written > this paragraph because of a broken DTK <wchar.h>. The include file that is > now broken is DTK <inttypes.h>. Agreed. I was less than half serious with my 'seems like a regression' comment :) It's unfortunate that ac_cv_header_inttypes_h has to be primed, but it's a small price to pay for such an old platform. Cheers, Gary -- Email me: g...@gnu.org (\(\ Read my blog: http://blog.azazil.net ( o.O) And my other blog: http://www.machaxor.net (uu )o ...and my book: http://sources.redhat.com/autobook ("("_)