Download MAN page

Transcript
SConf.CheckHeader(context, header, [include_quotes, language]),
sconf.CheckHeader(header, [include_quotes, language])
Checks if header is usable in the specified language. header may be a list, in which case the last item in the list
is the header file to be checked, and the previous list items are header files whose #include lines should precede
the header line being checked for. The optional argument include_quotes must be a two character string, where
the first character denotes the opening quote and the second character denotes the closing quote. By default,
both characters are " (double quote). The optional argument language should be either C or C++ and selects the
compiler to be used for the check. Returns 1 on success and 0 on failure.
SConf.CheckCHeader(context, header, [include_quotes]),
sconf.CheckCHeader(header, [include_quotes])
This is a wrapper around SConf.CheckHeader which checks if header is usable in the C language. header may be
a list, in which case the last item in the list is the header file to be checked, and the previous list items are header files
whose #include lines should precede the header line being checked for. The optional argument include_quotes
must be a two character string, where the first character denotes the opening quote and the second character denotes
the closing quote (both default to \N'34'). Returns 1 on success and 0 on failure.
SConf.CheckCXXHeader(context, header, [include_quotes]),
sconf.CheckCXXHeader(header, [include_quotes])
This is a wrapper around SConf.CheckHeader which checks if header is usable in the C++ language. header
may be a list, in which case the last item in the list is the header file to be checked, and the previous list items
are header files whose #include lines should precede the header line being checked for. The optional argument
include_quotes must be a two character string, where the first character denotes the opening quote and the second
character denotes the closing quote (both default to \N'34'). Returns 1 on success and 0 on failure.
SConf.CheckFunc(context,, function_name, [header, language]),
sconf.CheckFunc(function_name, [header, language])
Checks if the specified C or C++ function is available. function_name is the name of the function to check for.
The optional header argument is a string that will be placed at the top of the test file that will be compiled to
check if the function exists; the default is:
#ifdef __cplusplus
extern "C"
#endif
char function_name();
The optional language argument should be C or C++ and selects the compiler to be used for the check; the default
is "C".
SConf.CheckLib(context, [library, symbol, header, language, autoadd=1]),
sconf.CheckLib([library, symbol, header, language, autoadd=1])
Checks if library provides symbol. If the value of autoadd is 1 and the library provides the specified symbol,
appends the library to the LIBS construction environment variable. library may also be None (the default), in
which case symbol is checked with the current LIBS variable, or a list of library names, in which case each library
in the list will be checked for symbol. If symbol is not set or is None, then SConf.CheckLib() just checks if
you can link against the specified library. The optional language argument should be C or C++ and selects the
compiler to be used for the check; the default is "C". The default value for autoadd is 1. This method returns 1
on success and 0 on error.
SConf.CheckLibWithHeader(context, library, header, language, [call, autoadd]),
sconf.CheckLibWithHeader(library, header, language, [call, autoadd])
In contrast to the SConf.CheckLib call, this call provides a more sophisticated way to check against libraries.
Again, library specifies the library or a list of libraries to check. header specifies a header to check for. header
may be a list, in which case the last item in the list is the header file to be checked, and the previous list items
152