summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorJon Schlueter <jon.schlueter@gmail.com>2015-01-12 05:41:29 -0500
committerJon Schlueter <jon.schlueter@gmail.com>2015-01-12 05:41:29 -0500
commit72d2c0b5922a63d94bc08772dba3ae62c59867ba (patch)
treed54b8b55224207030e862b0438fc0630f257c911 /gpsd.h-tail
parent0fcb2da0c5ae748c64c3c6f09f0dd8f7998f74f2 (diff)
downloadgpsd-72d2c0b5922a63d94bc08772dba3ae62c59867ba.tar.gz
Adding Driver build dependancy NMEA2000 on AVIDM
according to Reinhard: It makes no sense to build nmea2000 without ais support.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index afae7ae8..2a3bc63e 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -72,6 +72,9 @@ typedef unsigned int speed_t;
#endif
/* Some internal capabilities depend on which drivers we're compiling. */
+#if !defined(AIVDM_ENABLE) && defined(NMEA2000_ENABLE)
+#define AIVDM_ENABLE
+#endif
#if !defined(NMEA_ENABLE) && (defined(FV18_ENABLE) || defined(MTK3301_ENABLE) || defined(TNT_ENABLE) || defined(OCEANSERVER_ENABLE) || defined(GPSCLOCK_ENABLE) || defined(FURY_ENABLE))
#define NMEA_ENABLE
#endif