Re: lib/mbchar.h uses wctype.h unconditionally

2006-07-10 Thread Albert Chin
On Sun, Jul 09, 2006 at 09:41:40PM -0700, Paul Eggert wrote: Albert Chin [EMAIL PROTECTED] writes: wctype.h isn't available on HP-UX 10.20 nor 11.00. modules/mbchar says that you're supposed to include mbchar.h this way: #if HAVE_WCHAR_H HAVE_WCTYPE_H #include mbchar.h #endif If

Re: proposal for fdl module

2006-07-10 Thread Simon Josefsson
Eric Blake [EMAIL PROTECTED] writes: In the m4 project, I wanted to update the documentation to include the FDL in an appendix. gnulib contains doc/fdl.texi, but did not have any easy way to import it over to m4. Would this patch be acceptable to allow documentation to be pulled in as

Re: AC_HEADER_DIRENT

2006-07-10 Thread Jim Hyslop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Derek R. Price wrote: Jim Hyslop wrote: Can you live with the current ndir.h solution until I (or someone) implements a dirent substitute for the Windows build? It would be nice to simplify. Does the attached patch do the trick? Sorry about

Re: problem with gl_ABSOLUTE_HEADER and HP-UX native ANSI C compiler

2006-07-10 Thread Bob Proulx
Paul Eggert wrote: However if I change it to use inclusion it works. OK, thanks, then we might as well try using everywhere. I'm more comfortable with ///... anyway; the ///... gave me the willies, since a compiler might think it was a C99 comment. Ew, yes, that does seem disconcerting.

Re: AC_HEADER_DIRENT

2006-07-10 Thread Paul Eggert
Jim Hyslop [EMAIL PROTECTED] writes: Sorry about the delay responding. I have committed the patch, with some trivial fine-tuning, to the CVS source. CVS's ndir.* are now dead. OK, thanks. Gnulib still uses ndir.h. How should we kill this off in general? The simplest thing is to simply omit

Re: problem with gl_ABSOLUTE_HEADER and HP-UX native ANSI C compiler

2006-07-10 Thread Bob Proulx
Paul Eggert wrote: Bob Proulx writes: ./lib/Makefile:ABSOLUTE_STDINT_H = ///usr/include/stdint.h ./lib/stdint.h:# include ///usr/include/stdint.h Looks like you need to re-run 'config.status'. That won't help. It is in config.status. Look at this: grep '///' config.status

Re: problem with gl_ABSOLUTE_HEADER and HP-UX native ANSI C compiler

2006-07-10 Thread Eric Blake
Bob Proulx writes: ./lib/Makefile:ABSOLUTE_STDINT_H = ///usr/include/stdint.h ./lib/stdint.h:# include ///usr/include/stdint.h Looks like you need to re-run 'config.status'. That won't help. It is in config.status. Look at this: Does this solve it? 2006-07-10 Eric Blake

Re: AC_HEADER_DIRENT

2006-07-10 Thread Derek R. Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Eggert wrote: The simplest thing is to simply omit all references to ndir.h, which is what I'm inclined to do unless someone speaks up. I'm fine with that. It was what my first pass at this did, actually. I'm not quite sure what will happen

Re: problem with gl_ABSOLUTE_HEADER and HP-UX native ANSI C compiler

2006-07-10 Thread Bob Proulx
Eric Blake wrote: Does this solve it? Index: m4/stdint.m4 ... -ABSOLUTE_STDINT_H=$gl_cv_absolute_stdint_h -AC_SUBST([ABSOLUTE_STDINT_H]) It is definitely related code. But unfortunately no it does not fix it. Actually things take a turn for the worse. With that change the

Re: problem with gl_ABSOLUTE_HEADER and HP-UX native ANSI C compiler

2006-07-10 Thread Paul Eggert
Thanks for reporting the further problem. I installed this in both gnulib and coreutils. Eric, mind if I do something similar for sys_stat_h.m4? 2006-07-10 Paul Eggert [EMAIL PROTECTED] * stdint.m4 (gl_STDINT_H): Like yesterday's change to absolute-header.m4. Also, set

Re: problem with gl_ABSOLUTE_HEADER and HP-UX native ANSI C compiler

2006-07-10 Thread Eric Blake
Thanks for reporting the further problem. I installed this in both gnulib and coreutils. Eric, mind if I do something similar for sys_stat_h.m4? Go for it. Shouldn't we also fix the comments of absolute-header.m4, while we are at it? $ cvs diff m4/absolute-header.m4 Index: