re-run bootstrap to pick up patches
[debian/gnuradio] / config.h.in
1 /* config.h.in.  Generated from configure.ac by autoheader.  */
2
3 /* Define if building universal (internal helper macro) */
4 #undef AC_APPLE_UNIVERSAL_BUILD
5
6 /* Define as the alignment of malloc if known; otherwise 0. */
7 #undef ALIGNED_MALLOC
8
9 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
10    systems. This function is required for `alloca.c' support on those systems.
11    */
12 #undef CRAY_STACKSEG_END
13
14 /* Define if has std::isnan */
15 #undef CXX_HAS_STD_ISNAN
16
17 /* Define to 1 if using `alloca.c'. */
18 #undef C_ALLOCA
19
20 /* Define to 1 if you have `alloca', as a function or macro. */
21 #undef HAVE_ALLOCA
22
23 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
24    */
25 #undef HAVE_ALLOCA_H
26
27 /* Define to 1 if you have the <arpa/inet.h> header file. */
28 #undef HAVE_ARPA_INET_H
29
30 /* Define to 1 if you have the <AudioToolbox/AudioToolbox.h> header file. */
31 #undef HAVE_AUDIOTOOLBOX_AUDIOTOOLBOX_H
32
33 /* Define to 1 if you have the <AudioUnit/AudioUnit.h> header file. */
34 #undef HAVE_AUDIOUNIT_AUDIOUNIT_H
35
36 /* Define if the Boost headers are available */
37 #undef HAVE_BOOST
38
39 /* Define if the boost_date_time library is available */
40 #undef HAVE_BOOST_DATE_TIME
41
42 /* Define if the boost_program_options library is available */
43 #undef HAVE_BOOST_PROGRAM_OPTIONS
44
45 /* Define if the boost_thread library is available */
46 #undef HAVE_BOOST_THREAD
47
48 /* Define to 1 if you have the <byteswap.h> header file. */
49 #undef HAVE_BYTESWAP_H
50
51 /* Define if you have a CBLAS library. */
52 #undef HAVE_CBLAS
53
54 /* Define to 1 if you have the `clock_gettime' function. */
55 #undef HAVE_CLOCK_GETTIME
56
57 /* Define to 1 if your system has `cosf'. */
58 #undef HAVE_COSF
59
60 /* Define if you have the CreateFilemapping function(win32). */
61 #undef HAVE_CREATEFILEMAPPING
62
63 /* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
64    */
65 #undef HAVE_DECL_GETENV
66
67 /* Define to 1 if you have the <dev/ppbus/ppi.h> header file. */
68 #undef HAVE_DEV_PPBUS_PPI_H
69
70 /* Define to 1 if you have the <dlfcn.h> header file. */
71 #undef HAVE_DLFCN_H
72
73 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
74 #undef HAVE_DOPRNT
75
76 /* Define to 1 if your system has 'exp10'. */
77 #undef HAVE_EXP10
78
79 /* Define to 1 if you have the <fcntl.h> header file. */
80 #undef HAVE_FCNTL_H
81
82 /* Define to 1 if you have the `getopt' function. */
83 #undef HAVE_GETOPT
84
85 /* Define to 1 if you have the `getpagesize' function. */
86 #undef HAVE_GETPAGESIZE
87
88 /* Define to 1 if you have the `getrusage' function. */
89 #undef HAVE_GETRUSAGE
90
91 /* Define to 1 if you have the `gettimeofday' function. */
92 #undef HAVE_GETTIMEOFDAY
93
94 /* Define to 1 if you have the <inttypes.h> header file. */
95 #undef HAVE_INTTYPES_H
96
97 /* Define to 1 if you have the <io.h> header file. */
98 #undef HAVE_IO_H
99
100 /* Define to 1 if you have the `ossaudio' library (-lossaudio). */
101 #undef HAVE_LIBOSSAUDIO
102
103 /* Define to 1 if you have the `socket' library (-lsocket). */
104 #undef HAVE_LIBSOCKET
105
106 /* Define to 1 if you have the `winmm' library (-lwinmm). */
107 #undef HAVE_LIBWINMM
108
109 /* Define to 1 if you have the <limits.h> header file. */
110 #undef HAVE_LIMITS_H
111
112 /* Define to 1 if you have the <linux/compiler.h> header file. */
113 #undef HAVE_LINUX_COMPILER_H
114
115 /* Define to 1 if you have the <linux/if_packet.h> header file. */
116 #undef HAVE_LINUX_IF_PACKET_H
117
118 /* Define to 1 if you have the <linux/ppdev.h> header file. */
119 #undef HAVE_LINUX_PPDEV_H
120
121 /* Define to 1 if your system has 'log2'. */
122 #undef HAVE_LOG2
123
124 /* Define to 1 if you have the `lstat' function. */
125 #undef HAVE_LSTAT
126
127 /* Define to 1 if you have the <malloc.h> header file. */
128 #undef HAVE_MALLOC_H
129
130 /* Define to 1 if you have the <memory.h> header file. */
131 #undef HAVE_MEMORY_H
132
133 /* Define to 1 if you have the `mkstemp' function. */
134 #undef HAVE_MKSTEMP
135
136 /* Define to 1 if you have the `mmap' function. */
137 #undef HAVE_MMAP
138
139 /* Define to 1 if you have the `modf' function. */
140 #undef HAVE_MODF
141
142 /* Define to 1 if you have the `nanosleep' function. */
143 #undef HAVE_NANOSLEEP
144
145 /* Define to 1 if you have the <netinet/in.h> header file. */
146 #undef HAVE_NETINET_IN_H
147
148 /* Define to 1 if you have the `posix_memalign' function. */
149 #undef HAVE_POSIX_MEMALIGN
150
151 /* Define if you have POSIX threads libraries and header files. */
152 #undef HAVE_PTHREAD
153
154 /* Define to 1 if you have the `pthread_setschedparam' function. */
155 #undef HAVE_PTHREAD_SETSCHEDPARAM
156
157 /* Define to 1 if you have the `pthread_sigmask' function. */
158 #undef HAVE_PTHREAD_SIGMASK
159
160 /* Define to 1 if you have the <Python.h> header file. */
161 #undef HAVE_PYTHON_H
162
163 /* Define to 1 if you have the `rand' function. */
164 #undef HAVE_RAND
165
166 /* Define to 1 if you have the `random' function. */
167 #undef HAVE_RANDOM
168
169 /* Define to 1 if you have the <sched.h> header file. */
170 #undef HAVE_SCHED_H
171
172 /* Define to 1 if you have the `sched_setaffinity' function. */
173 #undef HAVE_SCHED_SETAFFINITY
174
175 /* Define to 1 if you have the `sched_setscheduler' function. */
176 #undef HAVE_SCHED_SETSCHEDULER
177
178 /* Define to 1 if you have the `select' function. */
179 #undef HAVE_SELECT
180
181 /* Define to 1 if you have the `shm_open' function. */
182 #undef HAVE_SHM_OPEN
183
184 /* Define to 1 if you have the `sigaction' function. */
185 #undef HAVE_SIGACTION
186
187 /* Define to 1 if you have the <signal.h> header file. */
188 #undef HAVE_SIGNAL_H
189
190 /* Define to 1 if you have the `sigprocmask' function. */
191 #undef HAVE_SIGPROCMASK
192
193 /* Define to 1 if your system has `sincos'. */
194 #undef HAVE_SINCOS
195
196 /* Define to 1 if your system has `sincosf'. */
197 #undef HAVE_SINCOSF
198
199 /* Define to 1 if your system has `sinf'. */
200 #undef HAVE_SINF
201
202 /* Define to 1 if you have the `sleep' function. */
203 #undef HAVE_SLEEP
204
205 /* Define to 1 if you have the `snprintf' function. */
206 #undef HAVE_SNPRINTF
207
208 /* Define to 1 if you have the `socket' function. */
209 #undef HAVE_SOCKET
210
211 /* Define to 1 if you have the `sqrt' function. */
212 #undef HAVE_SQRT
213
214 /* Define to 1 if you have the `srand' function. */
215 #undef HAVE_SRAND
216
217 /* Define to 1 if you have the `srandom' function. */
218 #undef HAVE_SRANDOM
219
220 /* Define to 1 if the system has the type `ssize_t'. */
221 #undef HAVE_SSIZE_T
222
223 /* Define to 1 if you have win32 Sleep */
224 #undef HAVE_SSLEEP
225
226 /* Define to 1 if you have the <stdint.h> header file. */
227 #undef HAVE_STDINT_H
228
229 /* Define to 1 if you have the <stdlib.h> header file. */
230 #undef HAVE_STDLIB_H
231
232 /* Define to 1 if you have the `strcspn' function. */
233 #undef HAVE_STRCSPN
234
235 /* Define to 1 if you have the `strerror' function. */
236 #undef HAVE_STRERROR
237
238 /* Define to 1 if you have the <strings.h> header file. */
239 #undef HAVE_STRINGS_H
240
241 /* Define to 1 if you have the <string.h> header file. */
242 #undef HAVE_STRING_H
243
244 /* Define to 1 if you have the `strspn' function. */
245 #undef HAVE_STRSPN
246
247 /* Define to 1 if `cmcred_uid' is a member of `struct cmsgcred'. */
248 #undef HAVE_STRUCT_CMSGCRED_CMCRED_UID
249
250 /* Define to 1 if `msg_accrights' is a member of `struct msghdr'. */
251 #undef HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS
252
253 /* Define to 1 if `msg_control' is a member of `struct msghdr'. */
254 #undef HAVE_STRUCT_MSGHDR_MSG_CONTROL
255
256 /* Define to 1 if the system has the type `struct timespec'. */
257 #undef HAVE_STRUCT_TIMESPEC
258
259 /* Define to 1 if the system has the type `struct timezone'. */
260 #undef HAVE_STRUCT_TIMEZONE
261
262 /* Define to 1 if `uid' is a member of `struct ucred'. */
263 #undef HAVE_STRUCT_UCRED_UID
264
265 /* Define to 1 if you have the `sysconf' function. */
266 #undef HAVE_SYSCONF
267
268 /* Define to 1 if you have the <sys/ioctl.h> header file. */
269 #undef HAVE_SYS_IOCTL_H
270
271 /* Define to 1 if you have the <sys/ipc.h> header file. */
272 #undef HAVE_SYS_IPC_H
273
274 /* Define to 1 if you have the <sys/mman.h> header file. */
275 #undef HAVE_SYS_MMAN_H
276
277 /* Define to 1 if you have the <sys/resource.h> header file. */
278 #undef HAVE_SYS_RESOURCE_H
279
280 /* Define to 1 if you have the <sys/select.h> header file. */
281 #undef HAVE_SYS_SELECT_H
282
283 /* Define to 1 if you have the <sys/shm.h> header file. */
284 #undef HAVE_SYS_SHM_H
285
286 /* Define to 1 if you have the <sys/socket.h> header file. */
287 #undef HAVE_SYS_SOCKET_H
288
289 /* Define to 1 if you have the <sys/stat.h> header file. */
290 #undef HAVE_SYS_STAT_H
291
292 /* Define to 1 if you have the <sys/syscall.h> header file. */
293 #undef HAVE_SYS_SYSCALL_H
294
295 /* Define to 1 if you have the <sys/time.h> header file. */
296 #undef HAVE_SYS_TIME_H
297
298 /* Define to 1 if you have the <sys/types.h> header file. */
299 #undef HAVE_SYS_TYPES_H
300
301 /* Define to 1 if you have the <sys/un.h> header file. */
302 #undef HAVE_SYS_UN_H
303
304 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
305 #undef HAVE_SYS_WAIT_H
306
307 /* Define to 1 if you have the <time.h> header file. */
308 #undef HAVE_TIME_H
309
310 /* Define to 1 if your system has `trunc'. */
311 #undef HAVE_TRUNC
312
313 /* Define to 1 if you have the <unistd.h> header file. */
314 #undef HAVE_UNISTD_H
315
316 /* Define to 1 if you have the <usb.h> header file. */
317 #undef HAVE_USB_H
318
319 /* Define to 1 if you have the `usleep' function. */
320 #undef HAVE_USLEEP
321
322 /* Define to 1 if you have the `valloc' function. */
323 #undef HAVE_VALLOC
324
325 /* Define to 1 if you have the <vec_types.h> header file. */
326 #undef HAVE_VEC_TYPES_H
327
328 /* Define to 1 if you have the `vprintf' function. */
329 #undef HAVE_VPRINTF
330
331 /* Define to 1 if you have the <winbase.h> header file. */
332 #undef HAVE_WINBASE_H
333
334 /* Define to 1 if you have the <windows.h> header file. */
335 #undef HAVE_WINDOWS_H
336
337 /* Define to 1 if you have the <winioctl.h> header file. */
338 #undef HAVE_WINIOCTL_H
339
340 /* Define to 1 if you have the `__secure_getenv' function. */
341 #undef HAVE___SECURE_GETENV
342
343 /* Define to the sub-directory in which libtool stores uninstalled libraries.
344    */
345 #undef LT_OBJDIR
346
347 /* Define if mkdir accepts only one arg */
348 #undef MKDIR_TAKES_ONE_ARG
349
350 /* Name of package */
351 #undef PACKAGE
352
353 /* Define to the address where bug reports for this package should be sent. */
354 #undef PACKAGE_BUGREPORT
355
356 /* Define to the full name of this package. */
357 #undef PACKAGE_NAME
358
359 /* Define to the full name and version of this package. */
360 #undef PACKAGE_STRING
361
362 /* Define to the one symbol short name of this package. */
363 #undef PACKAGE_TARNAME
364
365 /* Define to the home page for this package. */
366 #undef PACKAGE_URL
367
368 /* Define to the version of this package. */
369 #undef PACKAGE_VERSION
370
371 /* Define to necessary symbol if this constant uses a non-standard name on
372    your system. */
373 #undef PTHREAD_CREATE_JOINABLE
374
375 /* If using the C implementation of alloca, define if you know the
376    direction of stack growth for your system; otherwise it will be
377    automatically deduced at runtime.
378         STACK_DIRECTION > 0 => grows toward higher addresses
379         STACK_DIRECTION < 0 => grows toward lower addresses
380         STACK_DIRECTION = 0 => direction of growth unknown */
381 #undef STACK_DIRECTION
382
383 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
384 #undef STAT_MACROS_BROKEN
385
386 /* Define to 1 if you have the ANSI C header files. */
387 #undef STDC_HEADERS
388
389 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
390 #undef TIME_WITH_SYS_TIME
391
392 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
393 #undef TM_IN_SYS_TIME
394
395 /* Enable extensions on AIX 3, Interix.  */
396 #ifndef _ALL_SOURCE
397 # undef _ALL_SOURCE
398 #endif
399 /* Enable GNU extensions on systems that have them.  */
400 #ifndef _GNU_SOURCE
401 # undef _GNU_SOURCE
402 #endif
403 /* Enable threading extensions on Solaris.  */
404 #ifndef _POSIX_PTHREAD_SEMANTICS
405 # undef _POSIX_PTHREAD_SEMANTICS
406 #endif
407 /* Enable extensions on HP NonStop.  */
408 #ifndef _TANDEM_SOURCE
409 # undef _TANDEM_SOURCE
410 #endif
411 /* Enable general extensions on Solaris.  */
412 #ifndef __EXTENSIONS__
413 # undef __EXTENSIONS__
414 #endif
415
416
417 /* Version number of package */
418 #undef VERSION
419
420 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
421    significant byte first (like Motorola and SPARC, unlike Intel). */
422 #if defined AC_APPLE_UNIVERSAL_BUILD
423 # if defined __BIG_ENDIAN__
424 #  define WORDS_BIGENDIAN 1
425 # endif
426 #else
427 # ifndef WORDS_BIGENDIAN
428 #  undef WORDS_BIGENDIAN
429 # endif
430 #endif
431
432 /* Define to 1 if on MINIX. */
433 #undef _MINIX
434
435 /* Define to 2 if the system does not provide POSIX.1 features except with
436    this defined. */
437 #undef _POSIX_1_SOURCE
438
439 /* Define to 1 if you need to in order for `stat' and other things to work. */
440 #undef _POSIX_SOURCE
441
442 /* Define to empty if `const' does not conform to ANSI C. */
443 #undef const
444
445 /* Define to `__inline__' or `__inline' if that's what the C compiler
446    calls it, or to nothing if 'inline' is not supported under any name.  */
447 #ifndef __cplusplus
448 #undef inline
449 #endif
450
451 /* Define to rpl_mkstemp if the replacement function should be used. */
452 #undef mkstemp
453
454 /* Define to `unsigned int' if <sys/types.h> does not define. */
455 #undef size_t
456
457
458 #ifndef HAVE_TRUNC
459 #include <math.h>
460 inline static double trunc(double x)
461 {
462   return x >= 0 ? floor(x) : ceil(x);
463 }
464 #endif
465
466 #ifndef HAVE_EXP10
467 #include <math.h>
468 inline static double exp10(double x)
469 {
470   return pow(10.0, x);
471 }
472 #endif
473
474 #ifdef HAVE_WINDOWS_H
475 #define NOMINMAX
476 #endif
477
478
479
480 /* Define missing prototypes, implemented in replacement lib */
481 #ifdef  __cplusplus
482 extern "C" {
483 #endif
484
485 #ifndef HAVE_GETOPT
486 int getopt (int argc, char * const argv[], const char * optstring);
487 extern char * optarg;
488 extern int optind, opterr, optopt;
489 #endif
490
491 #ifndef HAVE_USLEEP
492 int usleep(unsigned long usec); /* SUSv2 */
493 #endif
494
495 #ifndef HAVE_NANOSLEEP
496 #ifndef HAVE_STRUCT_TIMESPEC
497 #if HAVE_SYS_TYPES_H
498 # include <sys/types.h> /* need time_t */
499 #endif
500 struct timespec {
501         time_t  tv_sec;
502         long    tv_nsec;
503 };
504 #endif
505 static inline int nanosleep(const struct timespec *req, struct timespec *rem) { return usleep(req->tv_sec*1000000+req->tv_nsec/1000); }
506 #endif
507
508 #if defined(HAVE_SSLEEP) && !defined(HAVE_SLEEP)
509 #ifdef HAVE_WINBASE_H
510 #include <windows.h>
511 #include <winbase.h>
512 #endif
513 /* TODO: what about SleepEx? */
514 static inline unsigned int sleep (unsigned int nb_sec) { Sleep(nb_sec*1000); return 0; }
515 #endif
516
517 #ifndef HAVE_GETTIMEOFDAY
518 #ifdef HAVE_SYS_TIME_H
519 #include <sys/time.h>
520 #endif
521 #ifndef HAVE_STRUCT_TIMEZONE
522 struct timezone {
523         int  tz_minuteswest;
524         int  tz_dsttime;
525 };
526 #endif
527 int gettimeofday(struct timeval *tv, struct timezone *tz);
528 #endif
529
530 #if !defined(HAVE_RANDOM) && defined(HAVE_RAND)
531 #include <stdlib.h>
532 static inline long int random (void) { return rand(); }
533 #endif
534
535 #if !defined(HAVE_SRANDOM) && defined(HAVE_SRAND)
536 static inline void srandom (unsigned int seed) { srand(seed); }
537 #endif
538
539 #ifndef HAVE_SSIZE_T
540 typedef size_t ssize_t;
541 #endif
542
543 #ifdef  __cplusplus
544 }
545 #endif
546
547
548
549   #ifndef HAVE_MKSTEMP
550   #ifdef  __cplusplus
551   extern "C" {
552   #endif
553   int rpl_mkstemp (char *templ);
554   #ifdef  __cplusplus
555   }
556   #endif
557   #endif
558