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