summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-09-21 20:35:00 -0700
committerGary E. Miller <gem@rellim.com>2018-09-21 20:35:00 -0700
commit06a6f441f945fc4fef0d85288d14e6948f6e12ca (patch)
tree8bd71542034b1531cc0d3aaa895db9b35903acb4 /SConstruct
parent2453b0b9ab33f4af42014c47c26e1ab2389cb996 (diff)
downloadgpsd-06a6f441f945fc4fef0d85288d14e6948f6e12ca.tar.gz
SConstruct: Convert tabs to spaces.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct38
1 files changed, 19 insertions, 19 deletions
diff --git a/SConstruct b/SConstruct
index 061c18db..5e461524 100644
--- a/SConstruct
+++ b/SConstruct
@@ -904,10 +904,10 @@ else:
if env['magic_hat']:
confdefs.append('''\
/* Magic device which, if present, means to grab a static /dev/pps0 for KPPS */
-#define MAGIC_HAT_GPS "/dev/ttyAMA0"
+#define MAGIC_HAT_GPS "/dev/ttyAMA0"
/* Generic device which, if present, means: */
/* to grab a static /dev/pps0 for KPPS */
-#define MAGIC_LINK_GPS "/dev/gpsd0"
+#define MAGIC_LINK_GPS "/dev/gpsd0"
''')
confdefs.append('''\
@@ -1367,23 +1367,23 @@ else:
python_progs = ["gegps", "gpscat", "gpsfake", "gpsprof"]
if env['xgps']:
- # check for pycairo
- try:
- imp.find_module('cairo')
- except ImportError:
- # no pycairo, can't build xgps, xgpsspeed
- announce("Python module pycairo not found, "
- "xgps and xgpsspeed will not be installed")
- env['xgps'] = False
-
- # check for pygobject
- try:
- imp.find_module('gi')
- except ImportError:
- # no pycairo, can't build xgps, xgpsspeed
- announce("Python module pygobject not found, "
- "xgps and xgpsspeed will not be installed")
- env['xgps'] = False
+ # check for pycairo
+ try:
+ imp.find_module('cairo')
+ except ImportError:
+ # no pycairo, can't build xgps, xgpsspeed
+ announce("Python module pycairo not found, "
+ "xgps and xgpsspeed will not be installed")
+ env['xgps'] = False
+
+ # check for pygobject
+ try:
+ imp.find_module('gi')
+ except ImportError:
+ # no pycairo, can't build xgps, xgpsspeed
+ announce("Python module pygobject not found, "
+ "xgps and xgpsspeed will not be installed")
+ env['xgps'] = False
if env['xgps']:
python_progs.extend(["xgps", "xgpsspeed"])