1 /* gpsd_config.h generated by scons, do not hand-hack. */
2 
3 #ifndef GPSD_CONFIG_H
4 
5 #define VERSION "3.20"
6 
7 #define GPSD_URL "https://gpsd.io/"
8 
9 #if !defined(_POSIX_C_SOURCE)
10 #define _POSIX_C_SOURCE 200809L
11 #endif
12 
13 #if !defined(_DEFAULT_SOURCE)
14 #define _DEFAULT_SOURCE
15 #endif
16 
17 #if !defined(_BSD_SOURCE)
18 #define _BSD_SOURCE
19 #endif
20 
21 #if !defined(_GNU_SOURCE)
22 #define _GNU_SOURCE 1
23 #endif
24 
25 #define HAVE_LIBUSB 1
26 
27 #define HAVE_LIBRT 1
28 
29 /* #undef HAVE_LIBTHR */
30 
31 #define HAVE_DBUS 1
32 
33 #define ENABLE_BLUEZ 1
34 
35 #define HAVE_LINUX_CAN_H 1
36 
37 #define HAVE_STDATOMIC_H 1
38 
39 #define HAVE_BUILTIN_ENDIANNESS 1
40 
41 /* #undef HAVE_ENDIAN_H */
42 
43 /* #undef HAVE_SYS_ENDIAN_H */
44 
45 #define HAVE_ARPA_INET_H 1
46 
47 #define HAVE_NETDB_H 1
48 
49 #define HAVE_NETINET_IN_H 1
50 
51 #define HAVE_NETINET_IP_H 1
52 
53 #define HAVE_SYS_SYSMACROS_H 1
54 
55 #define HAVE_SYS_SOCKET_H 1
56 
57 #define HAVE_SYS_UN_H 1
58 
59 #define HAVE_SYSLOG_H 1
60 
61 #define HAVE_TERMIOS_H 1
62 
63 /* #undef HAVE_WINSOCK2_H */
64 
65 #define SIZEOF_TIME_T 8
66 
67 #define HAVE_CFMAKERAW 1
68 
69 #define HAVE_CLOCK_GETTIME 1
70 
71 #define HAVE_DAEMON 1
72 
73 #define HAVE_FCNTL 1
74 
75 #define HAVE_FORK 1
76 
77 #define HAVE_GMTIME_R 1
78 
79 #define HAVE_INET_NTOP 1
80 
81 /* #undef HAVE_STRLCAT */
82 
83 /* #undef HAVE_STRLCPY */
84 
85 #define HAVE_STRPTIME 1
86 
87 #define HAVE_SINCOS
88 
89 #define HAVE_SYS_TIMEPPS_H 1
90 
91 /* AIVDM support */
92 #define AIVDM_ENABLE 1
93 
94 /* Ashtech support */
95 #define ASHTECH_ENABLE 1
96 
97 /* application binaries directory */
98 #define BINDIR "bin"
99 
100 /* BlueZ support for Bluetooth devices */
101 #define BLUEZ_ENABLE 1
102 
103 /* client debugging support */
104 #define CLIENTDEBUG_ENABLE 1
105 
106 /* control socket for hotplug notifications */
107 #define CONTROL_SOCKET_ENABLE 1
108 
109 /* allow gpsctl/gpsmon to change device settings */
110 #define CONTROLSEND_ENABLE 1
111 
112 /* build with code coveraging enabled */
113 /* #undef COVERAGING_ENABLE */
114 
115 /* enable DBUS export support */
116 #define DBUS_EXPORT_ENABLE 1
117 
118 /* include debug information in build */
119 #define DEBUG_ENABLE 1
120 
121 /* documents directory */
122 #define DOCDIR "share/doc"
123 
124 /* DeLorme EarthMate Zodiac support */
125 #define EARTHMATE_ENABLE 1
126 
127 /* EverMore binary support */
128 #define EVERMORE_ENABLE 1
129 
130 /* force daemon to listen on all addressses */
131 /* #undef FORCE_GLOBAL_ENABLE */
132 
133 /* Jackson Labs Fury and Firefly support */
134 #define FURY_ENABLE 1
135 
136 /* San Jose Navigation FV-18 support */
137 #define FV18_ENABLE 1
138 
139 /* Garmin kernel driver support */
140 #define GARMIN_ENABLE 1
141 
142 /* Garmin Simple Text support */
143 #define GARMINTXT_ENABLE 1
144 
145 /* Geostar Protocol support */
146 #define GEOSTAR_ENABLE 1
147 
148 /* GPSClock support */
149 #define GPSCLOCK_ENABLE 1
150 
151 /* gpsd itself */
152 #define GPSD_ENABLE 1
153 
154 /* privilege revocation group */
155 #define GPSD_GROUP "uucp"
156 
157 /* privilege revocation user */
158 #define GPSD_USER "nobody"
159 
160 /* gspd client programs */
161 #define GPSDCLIENTS_ENABLE 1
162 
163 /* Javad GREIS support */
164 #define GREIS_ENABLE 1
165 
166 /* implicit linkage is supported in shared libs */
167 #define IMPLICIT_LINK_ENABLE 1
168 
169 /* header file directory */
170 #define INCLUDEDIR "include"
171 
172 /* Spectratime iSync LNRClok/GRCLOK support */
173 #define ISYNC_ENABLE 1
174 
175 /* iTrax hardware support */
176 #define ITRAX_ENABLE 1
177 
178 /* system libraries */
179 #define LIBDIR "lib"
180 
181 /* build C++ bindings */
182 #define LIBGPSMM_ENABLE 1
183 
184 /* special Linux PPS hack for Raspberry Pi et al */
185 #define MAGIC_HAT_ENABLE 1
186 
187 /* build help in man and HTML formats */
188 #define MANBUILD_ENABLE 1
189 
190 /* manual pages directory */
191 #define MANDIR "share/man"
192 
193 /* maximum allowed clients */
194 #define MAX_CLIENTS 64
195 
196 /* maximum allowed devices */
197 #define MAX_DEVICES 4
198 
199 /* turn off every option not set on the command line */
200 /* #undef MINIMAL_ENABLE */
201 
202 /* MTK-3301 support */
203 #define MTK3301_ENABLE 1
204 
205 /* Navcom NCT support */
206 #define NAVCOM_ENABLE 1
207 
208 /* build with ncurses */
209 #define NCURSES_ENABLE 1
210 
211 /* build support for handling TCP/IP data sources */
212 #define NETFEED_ENABLE 1
213 
214 /* NMEA0183 support */
215 #define NMEA0183_ENABLE 1
216 
217 /* NMEA2000/CAN support */
218 #define NMEA2000_ENABLE 1
219 
220 /* don't symbol-strip binaries at link time */
221 /* #undef NOSTRIP_ENABLE */
222 
223 /* NTRIP support */
224 #define NTRIP_ENABLE 1
225 
226 /* OceanServer support */
227 #define OCEANSERVER_ENABLE 1
228 
229 /* Motorola OnCore chipset support */
230 #define ONCORE_ENABLE 1
231 
232 /* Disciplined oscillator support */
233 #define OSCILLATOR_ENABLE 1
234 
235 /* build support for passing through JSON */
236 #define PASSTHROUGH_ENABLE 1
237 
238 /* pkgconfig file directory */
239 #define PKGCONFIG "lib/pkgconfig"
240 
241 /* installation directory prefix */
242 #define PREFIX "/usr/local"
243 
244 /* build with profiling enabled */
245 #define PROFILING_ENABLE 1
246 
247 /* build Python support and modules. */
248 #define PYTHON_ENABLE 1
249 
250 /* coverage command for Python progs */
251 #define PYTHON_COVERAGE "coverage run"
252 
253 /* Python module directory prefix */
254 /* #undef PYTHON_LIBDIR */
255 
256 /* build Qt bindings */
257 #define QT_ENABLE 1
258 
259 /* version for versioned Qt */
260 #define QT_VERSIONED 5
261 
262 /* allow gpsd to change device settings */
263 #define RECONFIGURE_ENABLE 1
264 
265 /* rtcm104v2 support */
266 #define RTCM104V2_ENABLE 1
267 
268 /* rtcm104v3 support */
269 #define RTCM104V3_ENABLE 1
270 
271 /* system binaries directory */
272 #define SBINDIR "sbin"
273 
274 /* build shared libraries, not static */
275 #define SHARED_ENABLE 1
276 
277 /* export via shared memory */
278 #define SHM_EXPORT_ENABLE 1
279 
280 /* SiRF chipset support */
281 #define SIRF_ENABLE 1
282 
283 /* Skytraq chipset support */
284 #define SKYTRAQ_ENABLE 1
285 
286 /* run tests with realistic (slow) delays */
287 /* #undef SLOW_ENABLE */
288 
289 /* data export over sockets */
290 #define SOCKET_EXPORT_ENABLE 1
291 
292 /* squelch gpsd_log/gpsd_hexdump to save cpu */
293 /* #undef SQUELCH_ENABLE */
294 
295 /* Novatel SuperStarII chipset support */
296 #define SUPERSTAR2_ENABLE 1
297 
298 /* system configuration directory */
299 #define SYSCONFDIR "etc"
300 
301 /* cross-development system root */
302 /* #undef SYSROOT */
303 
304 /* systemd socket activation */
305 #define SYSTEMD_ENABLE 1
306 
307 /* cross-development target */
308 /* #undef TARGET */
309 
310 /* target Python version as command */
311 #define TARGET_PYTHON "python"
312 
313 /* time-service configuration */
314 /* #undef TIMESERVICE_ENABLE */
315 
316 /* True North Technologies support */
317 #define TNT_ENABLE 1
318 
319 /* DeLorme TripMate support */
320 #define TRIPMATE_ENABLE 1
321 
322 /* Trimble TSIP support */
323 #define TSIP_ENABLE 1
324 
325 /* u-blox Protocol support */
326 #define UBLOX_ENABLE 1
327 
328 /* udev rules directory */
329 #define UDEVDIR "/lib/udev"
330 
331 /* libusb support for USB devices */
332 #define USB_ENABLE 1
333 
334 /* include xgps and xgpsspeed. */
335 #define XGPS_ENABLE 1
336 
337 /* Magic device which, if present, means to grab a static /dev/pps0 for KPPS */
338 #define MAGIC_HAT_GPS   "/dev/ttyAMA0"
339 /* Generic device which, if present, means: */
340 /* to grab a static /dev/pps0 for KPPS */
341 #define MAGIC_LINK_GPS  "/dev/gpsd0"
342 
343 
344 #define GPSD_CONFIG_H
345 #endif /* GPSD_CONFIG_H */
346