() Simon Josefsson <[EMAIL PROTECTED]> () Mon, 18 Aug 2008 12:38:40 +0200
> [Use gl_STDLIB_H?] No, add gl_EARLY and gl_INIT instead. They are in gnulib-*.m4, which should be generated by gnulib-tool. They set up the gnulib modules properly, and will invoke gl_STDLIB_H if necessary. OK. Generally, see the chapter 'Invoking gnulib-tool' in the gnulib manual. Thanks for the tip. I had read that chapter (and most of the manual, in texinfo format, in fact) but was still feeling doubtful. It almost seems /too/ easy! Perhaps i can add this (stdlib module) as an example to the manual to reassure others. > [Move #include <stdlib.h> to top-level, unconditional?] Yes. OK. > - Is it wise to remove `AC_HEADER_STDC' from configure.in? In all of my projects, I assume standard C header files exists and never had any reports of problems. However, if your project is special and needs to build on systems that doesn't have proper compilers and libraries, you may want to use it. My understanding is that this is something of an autoconf antiquity. Of course, if you remove AC_HEADER_STDC you should remove the STDC_HEADERS checks as well. OK. Thanks for answering my questions. thi