summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/man/scons.14
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1
index 78def40..921103f 100644
--- a/doc/man/scons.1
+++ b/doc/man/scons.1
@@ -6939,6 +6939,10 @@ or
.B C++
and selects the compiler to be used for the check;
the default is "C".
+Example:
+.ES
+sconf.CheckType('foo_type', '#include "my_types.h"', 'C++')
+.EE
.TP
.RI Configure.CheckCC( self )