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