diff options
-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"]) |