Hamlib  4.5
config.h
1 /* include/hamlib/config.h. Generated from config.h.in by configure. */
2 /* include/hamlib/config.h.in. Generated from configure.ac by autoheader. */
3 
4 /* Frontend ABI age */
5 #define ABI_AGE 0
6 
7 /* Frontend ABI revision */
8 #define ABI_REVISION 5
9 
10 /* Frontend ABI version */
11 #define ABI_VERSION 4
12 
13 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
14  systems. This function is required for `alloca.c' support on those systems.
15  */
16 /* #undef CRAY_STACKSEG_END */
17 
18 /* Define to 1 if using `alloca.c'. */
19 /* #undef C_ALLOCA */
20 
21 /* Define to 1 if you have `alloca', as a function or macro. */
22 #define HAVE_ALLOCA 1
23 
24 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
25  */
26 #define HAVE_ALLOCA_H 1
27 
28 /* Define to 1 if you have the <arpa/inet.h> header file. */
29 #define HAVE_ARPA_INET_H 1
30 
31 /* Define to 1 if you have the `cfmakeraw' function. */
32 #define HAVE_CFMAKERAW 1
33 
34 /* define if the compiler supports basic C++11 syntax */
35 #define HAVE_CXX11 1
36 
37 /* Define to 1 if you have the declaration of `gai_strerror', and to 0 if you
38  don't. */
39 #define HAVE_DECL_GAI_STRERROR 1
40 
41 /* Define to 1 if you have the <dev/ppbus/ppbconf.hdev/ppbus/ppi.h> header
42  file. */
43 /* #undef HAVE_DEV_PPBUS_PPBCONF_HDEV_PPBUS_PPI_H */
44 
45 /* Define to 1 if you have the <dlfcn.h> header file. */
46 #define HAVE_DLFCN_H 1
47 
48 /* Define to 1 if you have the <errno.h> header file. */
49 #define HAVE_ERRNO_H 1
50 
51 /* Define to 1 if you have the <fcntl.h> header file. */
52 #define HAVE_FCNTL_H 1
53 
54 /* Define to 1 if you have the `floor' function. */
55 /* #undef HAVE_FLOOR */
56 
57 /* Define to 1 if you have the <gd.h> header file. */
58 /* #undef HAVE_GD_H */
59 
60 /* Define to 1 if you have the `getaddrinfo' function. */
61 #define HAVE_GETADDRINFO 1
62 
63 /* Define to 1 if you have the `getopt' function. */
64 #define HAVE_GETOPT 1
65 
66 /* Define to 1 if you have the <getopt.h> header file. */
67 #define HAVE_GETOPT_H 1
68 
69 /* Define to 1 if you have the `getopt_long' function. */
70 #define HAVE_GETOPT_LONG 1
71 
72 /* Define to 1 if you have the `getpagesize' function. */
73 #define HAVE_GETPAGESIZE 1
74 
75 /* Define to 1 if you have the `gettimeofday' function. */
76 #define HAVE_GETTIMEOFDAY 1
77 
78 /* Define to 1 if you have the `glob' function. */
79 #define HAVE_GLOB 1
80 
81 /* Define to 1 if you have the <glob.h> header file. */
82 #define HAVE_GLOB_H 1
83 
84 /* Define to 1 if you have the <history.h> header file. */
85 /* #undef HAVE_HISTORY_H */
86 
87 /* Define to 1 if you have the `inet_ntoa' function. */
88 #define HAVE_INET_NTOA 1
89 
90 /* Define to 1 if you have the <inttypes.h> header file. */
91 #define HAVE_INTTYPES_H 1
92 
93 /* Define to 1 if you have the `ioctl' function. */
94 #define HAVE_IOCTL 1
95 
96 /* Define to 1 if you have the <lauxlib.h> header file. */
97 /* #undef HAVE_LAUXLIB_H */
98 
99 /* Define if you have an INDI compatible library */
100 /* #undef HAVE_LIBINDI */
101 
102 /* Define if you have a nova compatible library */
103 /* #undef HAVE_LIBNOVA */
104 
105 /* Define if you have a readline compatible library */
106 /* #undef HAVE_LIBREADLINE */
107 
108 /* Define if libusb-1.0 is available */
109 #define HAVE_LIBUSB 1
110 
111 /* Define to 1 if you have the <libusb-1.0/libusb.h> header file. */
112 #define HAVE_LIBUSB_1_0_LIBUSB_H 1
113 
114 /* Define to 1 if you have the <libusb.h> header file. */
115 /* #undef HAVE_LIBUSB_H */
116 
117 /* Define to 1 if you have the <limits.h> header file. */
118 #define HAVE_LIMITS_H 1
119 
120 /* Define to 1 if you have the <linux/hidraw.h> header file. */
121 #define HAVE_LINUX_HIDRAW_H 1
122 
123 /* Define to 1 if you have the <linux/ioctl.h> header file. */
124 #define HAVE_LINUX_IOCTL_H 1
125 
126 /* Define to 1 if you have the <linux/parport.h> header file. */
127 #define HAVE_LINUX_PARPORT_H 1
128 
129 /* Define to 1 if you have the <linux/ppdev.h> header file. */
130 #define HAVE_LINUX_PPDEV_H 1
131 
132 /* Define to 1 if you have the <locale.h> header file. */
133 #define HAVE_LOCALE_H 1
134 
135 /* Define to 1 if you have the <luaconf.h> header file. */
136 /* #undef HAVE_LUACONF_H */
137 
138 /* Define to 1 if you have the <lualib.h> header file. */
139 /* #undef HAVE_LUALIB_H */
140 
141 /* Define to 1 if you have the <lua.h> header file. */
142 /* #undef HAVE_LUA_H */
143 
144 /* Define to 1 if you have the <malloc.h> header file. */
145 #define HAVE_MALLOC_H 1
146 
147 /* Define to 1 if you have the `memchr' function. */
148 #define HAVE_MEMCHR 1
149 
150 /* Define to 1 if you have the `memmove' function. */
151 #define HAVE_MEMMOVE 1
152 
153 /* Define to 1 if you have the <memory.h> header file. */
154 #define HAVE_MEMORY_H 1
155 
156 /* Define to 1 if you have the `memset' function. */
157 #define HAVE_MEMSET 1
158 
159 /* Define to 1 if you have the `nanosleep' function. */
160 #define HAVE_NANOSLEEP 1
161 
162 /* Define to 1 if you have the <netdb.h> header file. */
163 #define HAVE_NETDB_H 1
164 
165 /* Define to 1 if you have the <netinet/in.h> header file. */
166 #define HAVE_NETINET_IN_H 1
167 
168 /* Define to 1 if you have the `pow' function. */
169 /* #undef HAVE_POW */
170 
171 /* Define if you have POSIX threads libraries and header files. */
172 #define HAVE_PTHREAD 1
173 
174 /* Define to 1 if you have the <pthread.h> header file. */
175 #define HAVE_PTHREAD_H 1
176 
177 /* Have PTHREAD_PRIO_INHERIT. */
178 #define HAVE_PTHREAD_PRIO_INHERIT 1
179 
180 /* If available, contains the Python version number currently in use. */
181 /* #undef HAVE_PYTHON */
182 
183 /* Define to 1 if you have the <readline.h> header file. */
184 /* #undef HAVE_READLINE_H */
185 
186 /* Define if your readline library has \`add_history' */
187 /* #undef HAVE_READLINE_HISTORY */
188 
189 /* Define to 1 if you have the <readline/history.h> header file. */
190 /* #undef HAVE_READLINE_HISTORY_H */
191 
192 /* Define to 1 if you have the <readline/readline.h> header file. */
193 /* #undef HAVE_READLINE_READLINE_H */
194 
195 /* Define to 1 if you have the `rint' function. */
196 /* #undef HAVE_RINT */
197 
198 /* Define to 1 if you have the `select' function. */
199 #define HAVE_SELECT 1
200 
201 /* Define to 1 if you have the `setitimer' function. */
202 #define HAVE_SETITIMER 1
203 
204 /* Define to 1 if you have the `setlocale' function. */
205 #define HAVE_SETLOCALE 1
206 
207 /* Define to 1 if you have the <sgtty.h> header file. */
208 #define HAVE_SGTTY_H 1
209 
210 /* Define to 1 if you have the `sigaction' function. */
211 #define HAVE_SIGACTION 1
212 
213 /* Define to 1 if the system has the type `siginfo_t'. */
214 #define HAVE_SIGINFO_T 1
215 
216 /* Define to 1 if you have the `signal' function. */
217 #define HAVE_SIGNAL 1
218 
219 /* Define to 1 if the system has the type `sig_atomic_t'. */
220 #define HAVE_SIG_ATOMIC_T 1
221 
222 /* Define to 1 if you have the `sleep' function. */
223 #define HAVE_SLEEP 1
224 
225 /* Define to 1 if you have the `snprintf' function. */
226 #define HAVE_SNPRINTF 1
227 
228 /* Define to 1 if you have the `socket' function. */
229 #define HAVE_SOCKET 1
230 
231 /* Define to 1 if you have the `socketpair' function. */
232 #define HAVE_SOCKETPAIR 1
233 
234 /* Define to 1 if you have the `sqrt' function. */
235 /* #undef HAVE_SQRT */
236 
237 /* Define to 1 if the system has the type `ssize_t'. */
238 #define HAVE_SSIZE_T 1
239 
240 /* Define to 1 if you have Windows Sleep */
241 /* #undef HAVE_SSLEEP */
242 
243 /* Define to 1 if you have the <stddef.h> header file. */
244 #define HAVE_STDDEF_H 1
245 
246 /* Define to 1 if you have the <stdint.h> header file. */
247 #define HAVE_STDINT_H 1
248 
249 /* Define to 1 if you have the <stdlib.h> header file. */
250 #define HAVE_STDLIB_H 1
251 
252 /* Define to 1 if you have the `strchr' function. */
253 #define HAVE_STRCHR 1
254 
255 /* Define to 1 if you have the `strdup' function. */
256 #define HAVE_STRDUP 1
257 
258 /* Define to 1 if you have the `strerror' function. */
259 #define HAVE_STRERROR 1
260 
261 /* Define to 1 if you have the <strings.h> header file. */
262 #define HAVE_STRINGS_H 1
263 
264 /* Define to 1 if you have the <string.h> header file. */
265 #define HAVE_STRING_H 1
266 
267 /* Define to 1 if you have the `strncasecmp' function. */
268 #define HAVE_STRNCASECMP 1
269 
270 /* Define to 1 if you have the `strrchr' function. */
271 #define HAVE_STRRCHR 1
272 
273 /* Define to 1 if you have the `strstr' function. */
274 #define HAVE_STRSTR 1
275 
276 /* Define to 1 if you have the `strtol' function. */
277 #define HAVE_STRTOL 1
278 
279 /* Define to 1 if the system has the type `struct addrinfo'. */
280 #define HAVE_STRUCT_ADDRINFO 1
281 
282 /* Define to 1 if the system has the type `struct timezone'. */
283 #define HAVE_STRUCT_TIMEZONE 1
284 
285 /* Define to 1 if you have the <sys/ioccom.h> header file. */
286 /* #undef HAVE_SYS_IOCCOM_H */
287 
288 /* Define to 1 if you have the <sys/ioctl.h> header file. */
289 #define HAVE_SYS_IOCTL_H 1
290 
291 /* Define to 1 if you have the <sys/param.h> header file. */
292 #define HAVE_SYS_PARAM_H 1
293 
294 /* Define to 1 if you have the <sys/select.h> header file. */
295 #define HAVE_SYS_SELECT_H 1
296 
297 /* Define to 1 if you have the <sys/socket.h> header file. */
298 #define HAVE_SYS_SOCKET_H 1
299 
300 /* Define to 1 if you have the <sys/stat.h> header file. */
301 #define HAVE_SYS_STAT_H 1
302 
303 /* Define to 1 if you have the <sys/time.h> header file. */
304 #define HAVE_SYS_TIME_H 1
305 
306 /* Define to 1 if you have the <sys/types.h> header file. */
307 #define HAVE_SYS_TYPES_H 1
308 
309 /* Define to 1 if you have the <tcl.h> header file. */
310 /* #undef HAVE_TCL_H */
311 
312 /* Define to 1 if you have the <termios.h> header file. */
313 #define HAVE_TERMIOS_H 1
314 
315 /* Define to 1 if you have the <termio.h> header file. */
316 #define HAVE_TERMIO_H 1
317 
318 /* Define to 1 if you have the <unistd.h> header file. */
319 #define HAVE_UNISTD_H 1
320 
321 /* Define to 1 if you have the `usleep' function. */
322 #define HAVE_USLEEP 1
323 
324 /* Define to 1 if you have the <values.h> header file. */
325 #define HAVE_VALUES_H 1
326 
327 /* Define to 1 if you have the <winbase.h> header file. */
328 /* #undef HAVE_WINBASE_H */
329 
330 /* Define to 1 if you have the <windows.h> header file. */
331 /* #undef HAVE_WINDOWS_H */
332 
333 /* Define to 1 if you have the <winioctl.h> header file. */
334 /* #undef HAVE_WINIOCTL_H */
335 
336 /* Define if winradio backend is built */
337 #define HAVE_WINRADIO 1
338 
339 /* Define to 1 if you have the <ws2tcpip.h> header file. */
340 /* #undef HAVE_WS2TCPIP_H */
341 
342 /* Define to 1 if you have the <wspiapi.h> header file. */
343 /* #undef HAVE_WSPIAPI_H */
344 
345 /* Define to the sub-directory where libtool stores uninstalled libraries. */
346 #define LT_OBJDIR ".libs/"
347 
348 /* Compilation on POSIX other than Linux */
349 /* #undef OTHER_POSIX */
350 
351 /* Name of package */
352 #define PACKAGE "hamlib"
353 
354 /* Define to the address where bug reports for this package should be sent. */
355 #define PACKAGE_BUGREPORT "hamlib-developer@lists.sourceforge.net"
356 
357 /* Define to the full name of this package. */
358 #define PACKAGE_NAME "Hamlib"
359 
360 /* Define to the full name and version of this package. */
361 #define PACKAGE_STRING "Hamlib 4.5"
362 
363 /* Define to the one symbol short name of this package. */
364 #define PACKAGE_TARNAME "hamlib"
365 
366 /* Define to the home page for this package. */
367 #define PACKAGE_URL "http://www.hamlib.org"
368 
369 /* Define to the version of this package. */
370 #define PACKAGE_VERSION "4.5"
371 
372 /* Define to necessary symbol if this constant uses a non-standard name on
373  your system. */
374 /* #undef PTHREAD_CREATE_JOINABLE */
375 
376 /* If using the C implementation of alloca, define if you know the
377  direction of stack growth for your system; otherwise it will be
378  automatically deduced at runtime.
379  STACK_DIRECTION > 0 => grows toward higher addresses
380  STACK_DIRECTION < 0 => grows toward lower addresses
381  STACK_DIRECTION = 0 => direction of growth unknown */
382 /* #undef STACK_DIRECTION */
383 
384 /* Define to 1 if you have the ANSI C header files. */
385 #define STDC_HEADERS 1
386 
387 /* Enable extensions on AIX 3, Interix. */
388 #ifndef _ALL_SOURCE
389 # define _ALL_SOURCE 1
390 #endif
391 /* Enable GNU extensions on systems that have them. */
392 #ifndef _GNU_SOURCE
393 # define _GNU_SOURCE 1
394 #endif
395 /* Enable threading extensions on Solaris. */
396 #ifndef _POSIX_PTHREAD_SEMANTICS
397 # define _POSIX_PTHREAD_SEMANTICS 1
398 #endif
399 /* Enable extensions on HP NonStop. */
400 #ifndef _TANDEM_SOURCE
401 # define _TANDEM_SOURCE 1
402 #endif
403 /* Enable general extensions on Solaris. */
404 #ifndef __EXTENSIONS__
405 # define __EXTENSIONS__ 1
406 #endif
407 
408 
409 /* Version number of package */
410 #define VERSION "4.5"
411 
412 /* Define to 1 if on MINIX. */
413 /* #undef _MINIX */
414 
415 /* Define to 2 if the system does not provide POSIX.1 features except with
416  this defined. */
417 /* #undef _POSIX_1_SOURCE */
418 
419 /* Define to 1 if you need to in order for `stat' and other things to work. */
420 /* #undef _POSIX_SOURCE */
421 
422 /* Define to `__inline__' or `__inline' if that's what the C compiler
423  calls it, or to nothing if 'inline' is not supported under any name. */
424 #ifndef __cplusplus
425 /* #undef inline */
426 #endif
427 
428 /* Define to `unsigned int' if <sys/types.h> does not define. */
429 /* #undef size_t */
430 
431 
432 /* Define missing prototypes, implemented in replacement lib */
433 #ifdef __cplusplus
434 extern "C" {
435 #endif
436 
437 #ifndef HAVE_GETOPT
438 int getopt (int argc, char * const argv[], const char * optstring);
439 extern char * optarg;
440 extern int optind, opterr, optopt;
441 #endif
442 
443 #ifndef HAVE_GETOPT_LONG
444 struct option;
445 int getopt_long (int argc, char * const argv[], const char * optstring,
446  const struct option * longopts, int * longindex);
447 #endif
448 
449 #ifndef HAVE_USLEEP
450 int usleep(unsigned long usec); /* SUSv2 */
451 #endif
452 
453 #ifndef HAVE_GETTIMEOFDAY
454 #ifdef HAVE_SYS_TIME_H
455 #include <sys/time.h>
456 #endif
457 #ifndef HAVE_STRUCT_TIMEZONE
458 struct timezone {
459  int tz_minuteswest;
460  int tz_dsttime;
461 };
462 #endif
463 int gettimeofday(struct timeval *tv, struct timezone *tz);
464 #endif
465 
466 #ifndef timersub
467 # define timersub(a, b, result) \
468  do { \
469  (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
470  (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
471  if ((result)->tv_usec < 0) { \
472  --(result)->tv_sec; \
473  (result)->tv_usec += 1000000; \
474  } \
475  } while (0)
476 #endif
477 
478 #ifndef HAVE_SSIZE_T
479 typedef size_t ssize_t;
480 #endif
481 
482 #ifdef __cplusplus
483 }
484 #endif
485 
486 
487 
488 /* Define missing prototypes, implemented in replacement lib */
489 #ifdef __cplusplus
490 extern "C" {
491 #endif
492 
493 #ifndef HAVE_STRUCT_ADDRINFO
494 #ifdef HAVE_NETINET_IN_H
495 #include <netinet/in.h>
496 #endif
497 #if HAVE_NETDB_H
498 #include <netdb.h>
499 #endif
500 #ifdef HAVE_ARPA_INET_H
501 #include <arpa/inet.h>
502 #endif
503 #ifdef HAVE_SYS_SOCKET_H
504 #include <sys/socket.h>
505 #elif HAVE_WS2TCPIP_H
506 #include <ws2tcpip.h>
507 #endif
508 struct addrinfo {
509  int ai_flags;
510  int ai_family;
511  int ai_socktype;
512  int ai_protocol;
513  socklen_t ai_addrlen;
514  struct sockaddr *ai_addr;
515 };
516 #endif
517 
518 #ifndef HAVE_GETADDRINFO
519 
520 #ifdef HAVE_NETINET_IN_H
521 #include <netinet/in.h>
522 #endif
523 #if HAVE_NETDB_H
524 #include <netdb.h>
525 #endif
526 #ifdef HAVE_ARPA_INET_H
527 #include <arpa/inet.h>
528 #endif
529 #ifdef HAVE_SYS_SOCKET_H
530 #include <sys/socket.h>
531 #elif HAVE_WS2TCPIP_H
532 #include <ws2tcpip.h>
533 #endif
534 
535 #ifndef AI_PASSIVE
536 #define AI_PASSIVE 0x0001
537 #endif
538 
539 int getaddrinfo(const char *node, const char *service,
540  const struct addrinfo *hints, struct addrinfo **res);
541 void freeaddrinfo(struct addrinfo *res);
542 #endif
543 
544 #if !defined(HAVE_DECL_GAI_STRERROR) && !defined(gai_strerror)
545 const char *gai_strerror(int errcode);
546 #endif /* !HAVE_DECL_GAI_STRERROR */
547 
548 #ifdef __cplusplus
549 }
550 #endif
551