diff options
author | Steven Knight <knight@baldmt.com> | 2003-06-11 01:28:19 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-06-11 01:28:19 (GMT) |
commit | c6f1c79f88056176cc2d1567521177744f79b569 (patch) | |
tree | 968eb55acc387589ca85b589a2b7e95ff2fa5004 /doc | |
parent | 19a3c78db2cdd47cc38df41c014c30072c1ac461 (diff) | |
download | SCons-c6f1c79f88056176cc2d1567521177744f79b569.zip SCons-c6f1c79f88056176cc2d1567521177744f79b569.tar.gz SCons-c6f1c79f88056176cc2d1567521177744f79b569.tar.bz2 |
SConf CheckFunc and CheckType functionality, plus fixes. (David Snopek)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/scons.1 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index e52903e..eb7594b 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -3202,6 +3202,13 @@ quote and the second character denotes the closing quote (both default to \N'34') Returns 1 on success and 0 on failure. +.TP +.RI Configure.CheckFunc( self ", " function_name ) +Checks if the specified +C or C+++ function is available. +.I function_name +is the name of the function to check for. + .TP .RI Configure.CheckLib( self ", [" library ", " symbol ", " autoadd ]) Checks if @@ -3249,6 +3256,18 @@ can be any valid expression (with a trailing ';'). The default is 'main();'. specifies whether to add the library to the environment (only if the check succeeds). This method returns 1 on success and 0 on error. +.TP +.RI Configure.CheckType( self ", " type_name ", [" includes ]) +Checks for the existence of a type defined by +.BR typedef . +.I type_name +specifies the typedef name to check for. +.I includes +is a string containing one or more +.B #include +lines that will be inserted into the program +that will be run to test for the existence of the type. + .EE Example of a typical Configure usage: |