diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-06 22:12:44 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-06 22:12:44 -0500 |
commit | 43f6dd97dd444dfe9bea9b527699fb089902b152 (patch) | |
tree | 9489a68b1f4946e677012f712a87135ba1482ef9 | |
parent | 3f9b209d3ca917f76f32db1ec4c8a1c0b2db0274 (diff) | |
download | gpsd-43f6dd97dd444dfe9bea9b527699fb089902b152.tar.gz |
Name change.
-rw-r--r-- | SConstruct | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |