[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to use module `stdlib'

From: Thien-Thi Nguyen
Subject: Re: how to use module `stdlib'
Date: Tue, 19 Aug 2008 15:34:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

() Simon Josefsson <address@hidden>
() 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


   Generally, see the chapter 'Invoking gnulib-tool' in the gnulib

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?]



   >   - 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

   Of course, if you remove AC_HEADER_STDC you should remove the
   STDC_HEADERS checks as well.


Thanks for answering my questions.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]