diff options
author | Gary E. Miller <gem@rellim.com> | 2018-09-21 20:35:00 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-09-21 20:35:00 -0700 |
commit | 06a6f441f945fc4fef0d85288d14e6948f6e12ca (patch) | |
tree | 8bd71542034b1531cc0d3aaa895db9b35903acb4 | |
parent | 2453b0b9ab33f4af42014c47c26e1ab2389cb996 (diff) | |
download | gpsd-06a6f441f945fc4fef0d85288d14e6948f6e12ca.tar.gz |
SConstruct: Convert tabs to spaces.
-rw-r--r-- | SConstruct | 38 |
1 files changed, 19 insertions, 19 deletions
@@ -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"]) |