Node:Generic Compiler Characteristics, Next:C Compiler, Previous:Specific Compiler Characteristics, Up:Compilers and Preprocessors
AC_CHECK_SIZEOF (type, [unused], [includes = default-includes ])
|
Macro |
Define SIZEOF_type (see Standard Symbols) to be the
size in bytes of type. If type is unknown, it gets a size
of 0. If no includes are specified, the default includes are used
(see Default Includes). If you provide include, make sure to
include stdio.h which is required for this macro to run.
This macro now works even when cross-compiling. The unused argument was used when cross-compiling. For example, the call
AC_CHECK_SIZEOF(int *) defines |