summaryrefslogtreecommitdiffstats
path: root/doc/user
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2008-08-18 16:22:59 (GMT)
committerGreg Noel <GregNoel@tigris.org>2008-08-18 16:22:59 (GMT)
commit356edc257f5d4c52ffc5afc597a20c8fe696c265 (patch)
treef523390a06987e3d4831e1a143fe01814b33bfd5 /doc/user
parent46d26bdabe494aeb39d775fb5b6199aa6499b19d (diff)
downloadSCons-356edc257f5d4c52ffc5afc597a20c8fe696c265.zip
SCons-356edc257f5d4c52ffc5afc597a20c8fe696c265.tar.gz
SCons-356edc257f5d4c52ffc5afc597a20c8fe696c265.tar.bz2
Issue 1872: Fix documentation for SConf.CheckLibWithHeader
Diffstat (limited to 'doc/user')
-rw-r--r--doc/user/sconf.in2
-rw-r--r--doc/user/sconf.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/user/sconf.in b/doc/user/sconf.in
index 265b720..381a174 100644
--- a/doc/user/sconf.in
+++ b/doc/user/sconf.in
@@ -206,7 +206,7 @@
<sconstruct>
env = Environment()
conf = Configure(env)
- if not conf.CheckLibWithHeader('m', 'math.h'):
+ if not conf.CheckLibWithHeader('m', 'math.h', 'c'):
print 'Did not find libm.a or m.lib, exiting!'
Exit(1)
env = conf.Finish()
diff --git a/doc/user/sconf.xml b/doc/user/sconf.xml
index 163db3b..d683bb8 100644
--- a/doc/user/sconf.xml
+++ b/doc/user/sconf.xml
@@ -206,7 +206,7 @@
<programlisting>
env = Environment()
conf = Configure(env)
- if not conf.CheckLibWithHeader('m', 'math.h'):
+ if not conf.CheckLibWithHeader('m', 'math.h', 'c'):
print 'Did not find libm.a or m.lib, exiting!'
Exit(1)
env = conf.Finish()