summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-06 22:12:44 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-06 22:12:44 -0500
commit43f6dd97dd444dfe9bea9b527699fb089902b152 (patch)
tree9489a68b1f4946e677012f712a87135ba1482ef9
parent3f9b209d3ca917f76f32db1ec4c8a1c0b2db0274 (diff)
downloadgpsd-43f6dd97dd444dfe9bea9b527699fb089902b152.tar.gz
Name change.
-rw-r--r--SConstruct6
1 files changed, 3 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index e8c1c436..3357ed9f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -427,7 +427,7 @@ def CheckCompilerOption(context, option):
context.Result(ret)
return ret
-def CheckDefine(context, define, file):
+def CheckDefinedIn(context, define, file):
context.Message( 'Checking if %s supplies %s ...' %(file,define) )
ret = context.TryLink("""
#include <%s>
@@ -445,7 +445,7 @@ config = Configure(env, custom_tests = { 'CheckPKG' : CheckPKG,
'CheckExecutable' : CheckExecutable,
'CheckXsltproc' : CheckXsltproc,
'CheckCompilerOption' : CheckCompilerOption,
- 'CheckDefine' : CheckDefine})
+ 'CheckDefinedIn' : CheckDefinedIn})
# If supported by the compiler, enable all warnings except uninitialized and
@@ -618,7 +618,7 @@ if config.CheckFunc("pselect"):
else:
confdefs.append("#define COMPAT_SELECT\n")
-if not config.CheckDefine("TIOCMIWAIT", "sys/ioctl.h"):
+if not config.CheckDefinedIn("TIOCMIWAIT", "sys/ioctl.h"):
announce("Forcing pps=no (TIOCMIWAIT not available)")
env["pps"] = False