[Top][All Lists]

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

how to use module `stdlib'

From: Thien-Thi Nguyen
Subject: how to use module `stdlib'
Date: Sun, 17 Aug 2008 16:20:42 +0200

I just did:
  $ gnulib-tool --import stdlib

Now i see in stdlib_h.m4 the definition:

Some questions on how to properly use this module:

  - What do i need to do wrt `gl_STDLIB_MODULE_INDICATOR'?

  - Is it enough to
    - add to configure.in
    - convert the implementation file construct from:
        #ifdef STDC_HEADERS
        # include <stdlib.h>
        #include <stdlib.h>
        #ifdef STDC_HEADERS
      (that is, move the #include <stdlib.h> to top-level,
      without any surrounding preprocessor conditionals)?

  - Is it wise to remove `AC_HEADER_STDC' from configure.in?

I see (info "(gnulib.info) Various Kinds of Modules") gives an
example of substituted-function usage.  Once i get the answers to
these questions, i'll submit a doc patch (presuming that the
module `stdlib' is like other substituted-headers modules).


reply via email to

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