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 | f60958ba86ac7d131bdcbce5a40bd820b23ff9dd (patch) | |
tree | 3392ab4df5bb1d830751fdca495f7d5619e1d485 /doc/man | |
parent | 4b31e93c1ad6509ef1998955673696b121faad40 (diff) | |
download | SCons-f60958ba86ac7d131bdcbce5a40bd820b23ff9dd.zip SCons-f60958ba86ac7d131bdcbce5a40bd820b23ff9dd.tar.gz SCons-f60958ba86ac7d131bdcbce5a40bd820b23ff9dd.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 |