1 /* config.h for android port */
2 
3 /* Frontend ABI version */
4 #define ABI_VERSION 2
5 
6 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
7    systems. This function is required for `alloca.c' support on those systems.
8    */
9 /* #undef CRAY_STACKSEG_END */
10 
11 /* Define to 1 if using `alloca.c'. */
12 /* #undef C_ALLOCA */
13 
14 /* Define to 1 if you have `alloca', as a function or macro. */
15 #define HAVE_ALLOCA 1
16 
17 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
18    */
19 #define HAVE_ALLOCA_H 1
20 
21 /* Define to 1 if you have the <argz.h> header file. */
22 #define HAVE_ARGZ_H 1
23 
24 /* Define to 1 if you have the <arpa/inet.h> header file. */
25 #define HAVE_ARPA_INET_H 1
26 
27 /* Define to 1 if you have the `atexit' function. */
28 #define HAVE_ATEXIT 1
29 
30 /* Define to 1 if you have the `cfmakeraw' function. */
31 #define HAVE_CFMAKERAW 1
32 
33 /* Define to 1 if you have the <dev/ppbus/ppbconf.h> header file. */
34 /* #undef HAVE_DEV_PPBUS_PPBCONF_H */
35 
36 /* Define to 1 if you have the <dev/ppbus/ppi.h> header file. */
37 /* #undef HAVE_DEV_PPBUS_PPI_H */
38 
39 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
40    */
41 #define HAVE_DIRENT_H 1
42 
43 /* Define to 1 if you have the <dlfcn.h> header file. */
44 #define HAVE_DLFCN_H 1
45 
46 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
47 /* #undef HAVE_DOPRNT */
48 
49 /* Define to 1 if you have the <errno.h> header file. */
50 #define HAVE_ERRNO_H 1
51 
52 /* Define to 1 if you have the <fcntl.h> header file. */
53 #define HAVE_FCNTL_H 1
54 
55 /* Define to 1 if you have the `gai_strerror' function. */
56 #define HAVE_GAI_STRERROR 1
57 
58 /* Define to 1 if you have the <gd.h> header file. */
59 /* #undef HAVE_GD_H */
60 
61 /* Define to 1 if you have the `getaddrinfo' function. */
62 #define HAVE_GETADDRINFO 1
63 
64 /* Define to 1 if you have the `getopt' function. */
65 #define HAVE_GETOPT 1
66 
67 /* Define to 1 if you have the <getopt.h> header file. */
68 #define HAVE_GETOPT_H 1
69 
70 /* Define to 1 if you have the `getopt_long' function. */
71 #define HAVE_GETOPT_LONG 1
72 
73 /* Define to 1 if you have the `gettimeofday' function. */
74 #define HAVE_GETTIMEOFDAY 1
75 
76 /* Define to 1 if you have the <inttypes.h> header file. */
77 #define HAVE_INTTYPES_H 1
78 
79 /* Define to 1 if you have the `ioctl' function. */
80 #define HAVE_IOCTL 1
81 
82 /* Define to 1 if you have the `syslog' library (-lsyslog). */
83 /* #undef HAVE_LIBSYSLOG */
84 
85 /* Define to 1 if you have the <linux/ioctl.h> header file. */
86 #define HAVE_LINUX_IOCTL_H 1
87 
88 /* Define to 1 if you have the <malloc.h> header file. */
89 #define HAVE_MALLOC_H 1
90 
91 /* Define to 1 if you have the `memmove' function. */
92 #define HAVE_MEMMOVE 1
93 
94 /* Define to 1 if you have the <memory.h> header file. */
95 #define HAVE_MEMORY_H 1
96 
97 /* Define to 1 if you have the `memset' function. */
98 #define HAVE_MEMSET 1
99 
100 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
101 /* #undef HAVE_NDIR_H */
102 
103 /* Define to 1 if you have the <netdb.h> header file. */
104 #define HAVE_NETDB_H 1
105 
106 /* Define to 1 if you have the <netinet/in.h> header file. */
107 #define HAVE_NETINET_IN_H 1
108 
109 /* Define to 1 if you have the <net/errno.h> header file. */
110 /* #undef HAVE_NET_ERRNO_H */
111 
112 /* If available, contains the Python version number currently in use. */
113 /* #undef HAVE_PYTHON */
114 
115 /* Define to 1 if you have the `select' function. */
116 #define HAVE_SELECT 1
117 
118 /* Define to 1 if you have the `setitimer' function. */
119 #define HAVE_SETITIMER 1
120 
121 /* Define to 1 if you have the <sgtty.h> header file. */
122 #define HAVE_SGTTY_H 1
123 
124 /* Define to 1 if you have the `sigaction' function. */
125 #define HAVE_SIGACTION 1
126 
127 /* Define to 1 if the system has the type `siginfo_t'. */
128 #define HAVE_SIGINFO_T 1
129 
130 /* Define to 1 if you have the `sleep' function. */
131 #define HAVE_SLEEP 1
132 
133 /* Define to 1 if you have the `snprintf' function. */
134 #define HAVE_SNPRINTF 1
135 
136 /* Define to 1 if the system has the type `ssize_t'. */
137 #define HAVE_SSIZE_T 1
138 
139 /* Define to 1 if you have win32 Sleep */
140 /* #undef HAVE_SSLEEP */
141 
142 /* Define to 1 if you have the <stdint.h> header file. */
143 #define HAVE_STDINT_H 1
144 
145 /* Define to 1 if you have the <stdlib.h> header file. */
146 #define HAVE_STDLIB_H 1
147 
148 /* Define to 1 if you have the `strcasecmp' function. */
149 #define HAVE_STRCASECMP 1
150 
151 /* Define to 1 if you have the `strchr' function. */
152 #define HAVE_STRCHR 1
153 
154 /* Define to 1 if you have the `strdup' function. */
155 #define HAVE_STRDUP 1
156 
157 /* Define to 1 if you have the `strerror' function. */
158 #define HAVE_STRERROR 1
159 
160 /* Define to 1 if you have the <strings.h> header file. */
161 #define HAVE_STRINGS_H 1
162 
163 /* Define to 1 if you have the <string.h> header file. */
164 #define HAVE_STRING_H 1
165 
166 /* Define to 1 if you have the `strrchr' function. */
167 #define HAVE_STRRCHR 1
168 
169 /* Define to 1 if you have the `strstr' function. */
170 #define HAVE_STRSTR 1
171 
172 /* Define to 1 if you have the `strtol' function. */
173 #define HAVE_STRTOL 1
174 
175 /* Define to 1 if the system has the type `struct addrinfo'. */
176 #define HAVE_STRUCT_ADDRINFO 1
177 
178 /* Define to 1 if the system has the type `struct timezone'. */
179 #define HAVE_STRUCT_TIMEZONE 1
180 
181 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
182    */
183 /* #undef HAVE_SYS_DIR_H */
184 
185 /* Define to 1 if you have the <sys/ioccom.h> header file. */
186 /* #undef HAVE_SYS_IOCCOM_H */
187 
188 /* Define to 1 if you have the <sys/ioctl.h> header file. */
189 #define HAVE_SYS_IOCTL_H 1
190 
191 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
192    */
193 /* #undef HAVE_SYS_NDIR_H */
194 
195 /* Define to 1 if you have the <sys/param.h> header file. */
196 #define HAVE_SYS_PARAM_H 1
197 
198 /* Define to 1 if you have the <sys/socket.h> header file. */
199 #define HAVE_SYS_SOCKET_H 1
200 
201 /* Define to 1 if you have the <sys/stat.h> header file. */
202 #define HAVE_SYS_STAT_H 1
203 
204 /* Define to 1 if you have the <sys/time.h> header file. */
205 #define HAVE_SYS_TIME_H 1
206 
207 /* Define to 1 if you have the <sys/types.h> header file. */
208 #define HAVE_SYS_TYPES_H 1
209 
210 /* Define to 1 if you have the <tcl.h> header file. */
211 /* #undef HAVE_TCL_H */
212 
213 /* Define to 1 if you have the <termios.h> header file. */
214 #define HAVE_TERMIOS_H 1
215 
216 /* Define to 1 if you have the <termio.h> header file. */
217 #define HAVE_TERMIO_H 1
218 
219 /* Define to 1 if you have the <term.h> header file. */
220 /* #undef HAVE_TERM_H */
221 
222 /* Define to 1 if you have the <unistd.h> header file. */
223 #define HAVE_UNISTD_H 1
224 
225 /* Define to 1 if you have the <libusb.h> header file. */
226 //#define HAVE_LIBUSB_H 1
227 
228 /* Define to 1 if you have the <libusb-1.0/libusb.h> header file. */
229 //#define HAVE_LIBUSB_1_0_LIBUSB_H 1
230 
231 /* Define to 1 if you have the `usleep' function. */
232 #define HAVE_USLEEP 1
233 
234 /* Define if usrp is available */
235 /* #undef HAVE_USRP */
236 
237 /* Define to 1 if you have the <values.h> header file. */
238 #define HAVE_VALUES_H 1
239 
240 /* Define to 1 if you have the `vprintf' function. */
241 #define HAVE_VPRINTF 1
242 
243 /* Define to 1 if you have the <winbase.h> header file. */
244 /* #undef HAVE_WINBASE_H */
245 
246 /* Define to 1 if you have the <windows.h> header file. */
247 /* #undef HAVE_WINDOWS_H */
248 
249 /* Define to 1 if you have the <winioctl.h> header file. */
250 /* #undef HAVE_WINIOCTL_H */
251 
252 /* Define to 1 if you have the <ws2tcpip.h> header file. */
253 /* #undef HAVE_WS2TCPIP_H */
254 
255 /* Define if libxml2 is available */
256 /* #undef HAVE_XML2 */
257 
258 /* Define to the sub-directory in which libtool stores uninstalled libraries.
259    */
260 #define LT_OBJDIR ".libs/"
261 
262 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
263 /* #undef NO_MINUS_C_MINUS_O */
264 
265 /* Define to the address where bug reports for this package should be sent. */
266 #define PACKAGE_BUGREPORT "hamlib-developer@lists.sourceforge.net"
267 
268 /* Define to the full name of this package. */
269 #define PACKAGE_NAME "Hamlib"
270 
271 /* Define to the full name and version of this package. */
272 #define PACKAGE_STRING "Hamlib 1.2.15"
273 
274 /* Define to the one symbol short name of this package. */
275 #define PACKAGE_TARNAME "hamlib"
276 
277 /* Define to the home page for this package. */
278 #define PACKAGE_URL "http://www.hamlib.org"
279 
280 /* Define to the version of this package. */
281 #define PACKAGE_VERSION "1.2.15"
282 
283 /* Define to necessary symbol if this constant uses a non-standard name on
284    your system. */
285 /* #undef PTHREAD_CREATE_JOINABLE */
286 
287 /* Define as the return type of signal handlers (`int' or `void'). */
288 #define RETSIGTYPE void
289 
290 /* If using the C implementation of alloca, define if you know the
291    direction of stack growth for your system; otherwise it will be
292    automatically deduced at runtime.
293 	STACK_DIRECTION > 0 => grows toward higher addresses
294 	STACK_DIRECTION < 0 => grows toward lower addresses
295 	STACK_DIRECTION = 0 => direction of growth unknown */
296 /* #undef STACK_DIRECTION */
297 
298 /* Define to 1 if you have the ANSI C header files. */
299 #define STDC_HEADERS 1
300 
301 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
302 #define TIME_WITH_SYS_TIME 1
303 
304 /* Enable extensions on AIX 3, Interix.  */
305 #ifndef _ALL_SOURCE
306 # define _ALL_SOURCE 1
307 #endif
308 /* Enable GNU extensions on systems that have them.  */
309 #ifndef _GNU_SOURCE
310 # define _GNU_SOURCE 1
311 #endif
312 /* Enable threading extensions on Solaris.  */
313 #ifndef _POSIX_PTHREAD_SEMANTICS
314 # define _POSIX_PTHREAD_SEMANTICS 1
315 #endif
316 /* Enable extensions on HP NonStop.  */
317 #ifndef _TANDEM_SOURCE
318 # define _TANDEM_SOURCE 1
319 #endif
320 /* Enable general extensions on Solaris.  */
321 #ifndef __EXTENSIONS__
322 # define __EXTENSIONS__ 1
323 #endif
324 
325 
326 /* Define to 1 if on MINIX. */
327 /* #undef _MINIX */
328 
329 /* Define to 2 if the system does not provide POSIX.1 features except with
330    this defined. */
331 /* #undef _POSIX_1_SOURCE */
332 
333 /* Define to 1 if you need to in order for `stat' and other things to work. */
334 /* #undef _POSIX_SOURCE */
335 
336 /* Define to empty if `const' does not conform to ANSI C. */
337 /* #undef const */
338 
339 /* Define to `__inline__' or `__inline' if that's what the C compiler
340    calls it, or to nothing if 'inline' is not supported under any name.  */
341 #ifndef __cplusplus
342 /* #undef inline */
343 #endif
344 
345 /* Define to `unsigned int' if <sys/types.h> does not define. */
346 /* #undef size_t */
347 
348 
349 /* Define missing prototypes, implemented in replacement lib */
350 #ifdef  __cplusplus
351 extern "C" {
352 #endif
353 
354 #ifndef HAVE_GETOPT
355 int getopt (int argc, char * const argv[], const char * optstring);
356 extern char * optarg;
357 extern int optind, opterr, optopt;
358 #endif
359 #ifndef HAVE_GETOPT_LONG
360 struct option;
361 int getopt_long (int argc, char * const argv[], const char * optstring,
362 			const struct option * longopts, int * longindex);
363 #endif
364 
365 #ifndef HAVE_USLEEP
366 int usleep(unsigned long usec);	/* SUSv2 */
367 #endif
368 
369 #if defined(HAVE_SSLEEP) && !defined(HAVE_SLEEP)
370 #ifdef HAVE_WINBASE_H
371 #include <windows.h>
372 #include <winbase.h>
373 #endif
374 /* TODO: what about SleepEx? */
sleep(unsigned int nb_sec)375 static inline unsigned int sleep (unsigned int nb_sec) { Sleep(nb_sec*1000); return 0; }
376 #endif
377 
378 #ifndef HAVE_GETTIMEOFDAY
379 #ifdef HAVE_SYS_TIME_H
380 #include <sys/time.h>
381 #endif
382 #ifndef HAVE_STRUCT_TIMEZONE
383 struct timezone {
384         int  tz_minuteswest;
385 	int  tz_dsttime;
386 };
387 #endif
388 int gettimeofday(struct timeval *tv, struct timezone *tz);
389 #endif
390 
391 #ifndef HAVE_SSIZE_T
392 typedef size_t ssize_t;
393 #endif
394 
395 #ifdef  __cplusplus
396 }
397 #endif
398 
399 
400 
401 /* Define missing prototypes, implemented in replacement lib */
402 #ifdef  __cplusplus
403 extern "C" {
404 #endif
405 
406 #ifndef HAVE_STRUCT_ADDRINFO
407 #ifdef HAVE_NETINET_IN_H
408 #include <netinet/in.h>
409 #endif
410 #if HAVE_NETDB_H
411 #include <netdb.h>
412 #endif
413 #ifdef HAVE_ARPA_INET_H
414 #include <arpa/inet.h>
415 #endif
416 #ifdef HAVE_SYS_SOCKET_H
417 #include <sys/socket.h>
418 #elif HAVE_WS2TCPIP_H
419 #include <ws2tcpip.h>
420 #endif
421 struct addrinfo {
422     int ai_flags;
423     int ai_family;
424     int ai_socktype;
425     int ai_protocol;
426     socklen_t ai_addrlen;
427     struct sockaddr *ai_addr;
428 };
429 #endif
430 
431 #ifndef HAVE_GETADDRINFO
432 
433 #ifdef HAVE_NETINET_IN_H
434 #include <netinet/in.h>
435 #endif
436 #if HAVE_NETDB_H
437 #include <netdb.h>
438 #endif
439 #ifdef HAVE_ARPA_INET_H
440 #include <arpa/inet.h>
441 #endif
442 #ifdef HAVE_SYS_SOCKET_H
443 #include <sys/socket.h>
444 #elif HAVE_WS2TCPIP_H
445 #include <ws2tcpip.h>
446 #endif
447 
448 #ifndef AI_PASSIVE
449 #define AI_PASSIVE 0x0001
450 #endif
451 
452 int getaddrinfo(const char *node, const char *service,
453     const struct addrinfo *hints, struct addrinfo **res);
454 void freeaddrinfo(struct addrinfo *res);
455 #endif
456 
457 #if !defined(HAVE_GAI_STRERROR) && !defined(gai_strerror)
458 const char *gai_strerror(int errcode);
459 #endif /* !HAVE_GAI_STRERROR */
460 
461 #ifdef  __cplusplus
462 }
463 #endif
464 
465 
466 #define HAMLIB_MODULE_DIR "."
467