diff options
author | Steven Knight <knight@baldmt.com> | 2004-09-17 14:13:57 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-09-17 14:13:57 (GMT) |
commit | 797e94a2484a11a771fb537619bdc011bf94bf2d (patch) | |
tree | 3392ab4df5bb1d830751fdca495f7d5619e1d485 /doc/man | |
parent | 844d789e8312b2ba38acc000e958f722077393a9 (diff) | |
download | SCons-797e94a2484a11a771fb537619bdc011bf94bf2d.zip SCons-797e94a2484a11a771fb537619bdc011bf94bf2d.tar.gz SCons-797e94a2484a11a771fb537619bdc011bf94bf2d.tar.bz2 |
Fix inconsistency in conf.CheckFunc().
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/scons.1 | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index 217c01f..d4f2103 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -6629,12 +6629,27 @@ to \N'34'). Returns 1 on success and 0 on failure. .TP -.RI Configure.CheckFunc( self ", " function_name ", [" language ]) +.RI Configure.CheckFunc( self ", " function_name ", [" header ", " language ]) Checks if the specified C or C++ function is available. .I function_name is the name of the function to check for. The optional +.I 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: +.ES +#ifdef __cplusplus +extern "C" +#endif +char function_name(); +.EE +The optional .I language argument should be .B C |