DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(autoconf.info.gz) Generic Types

Info Catalog (autoconf.info.gz) Particular Types (autoconf.info.gz) Types
 
 Generic Type Checks
 -------------------
 
    These macros are used to check for types not covered by the
 "particular" test macros.
 
  - Macro: AC_CHECK_TYPE (TYPE, [ACTION-IF-FOUND],
           [ACTION-IF-NOT-FOUND], [INCLUDES = `default-includes'])
      Check whether TYPE is defined.  It may be a compiler builtin type
      or defined by the INCLUDES ( Default Includes).
 
  - Macro: AC_CHECK_TYPES (TYPES, [ACTION-IF-FOUND],
           [ACTION-IF-NOT-FOUND], [INCLUDES = `default-includes'])
      For each TYPE of the TYPES that is defined, define `HAVE_TYPE' (in
      all capitals).  If no INCLUDES are specified, the default includes
      are used ( Default Includes).  If ACTION-IF-FOUND is given,
      it is additional shell code to execute when one of the types is
      found.  If ACTION-IF-NOT-FOUND is given, it is executed when one
      of the types is not found.
 
      This macro uses m4 lists:
           AC_CHECK_TYPES(ptrdiff_t)
           AC_CHECK_TYPES([unsigned long long, uintmax_t])
 
 
    Autoconf, up to 2.13, used to provide to another version of
 `AC_CHECK_TYPE', broken by design.  In order to keep backward
 compatibility, a simple heuristics, quite safe but not totally, is
 implemented.  In case of doubt, read the documentation of the former
 `AC_CHECK_TYPE', see  Obsolete Macros.
 
Info Catalog (autoconf.info.gz) Particular Types (autoconf.info.gz) Types
automatically generated byinfo2html