GNU Radio 3.5.3.1 C++ API
config.h
Go to the documentation of this file.
00001 /* config.h.  Generated from config.h.in by configure.  */
00002 /* config.h.in.  Generated from configure.ac by autoheader.  */
00003 
00004 /* Define if building universal (internal helper macro) */
00005 /* #undef AC_APPLE_UNIVERSAL_BUILD */
00006 
00007 /* Define as the alignment of malloc if known; otherwise 0. */
00008 /* #undef ALIGNED_MALLOC */
00009 
00010 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
00011    systems. This function is required for `alloca.c' support on those systems.
00012    */
00013 /* #undef CRAY_STACKSEG_END */
00014 
00015 /* Define to 1 if using `alloca.c'. */
00016 /* #undef C_ALLOCA */
00017 
00018 /* Define to 1 if you have `alloca', as a function or macro. */
00019 #define HAVE_ALLOCA 1
00020 
00021 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
00022    */
00023 #define HAVE_ALLOCA_H 1
00024 
00025 /* Define to 1 if you have the <arpa/inet.h> header file. */
00026 #define HAVE_ARPA_INET_H 1
00027 
00028 /* Define to 1 if you have the <AudioToolbox/AudioToolbox.h> header file. */
00029 /* #undef HAVE_AUDIOTOOLBOX_AUDIOTOOLBOX_H */
00030 
00031 /* Define to 1 if you have the <AudioUnit/AudioUnit.h> header file. */
00032 /* #undef HAVE_AUDIOUNIT_AUDIOUNIT_H */
00033 
00034 /* Define if the Boost headers are available */
00035 #define HAVE_BOOST 1
00036 
00037 /* Define if the boost_date_time library is available */
00038 #define HAVE_BOOST_DATE_TIME 1
00039 
00040 /* Define if the boost_filesystem library is available */
00041 #define HAVE_BOOST_FILESYSTEM 1
00042 
00043 /* Define if the boost_program_options library is available */
00044 #define HAVE_BOOST_PROGRAM_OPTIONS 1
00045 
00046 /* Define if the boost_system library is available */
00047 #define HAVE_BOOST_SYSTEM 1
00048 
00049 /* Define if the boost_thread library is available */
00050 #define HAVE_BOOST_THREAD 1
00051 
00052 /* Define if you have a CBLAS library. */
00053 #define HAVE_CBLAS 1
00054 
00055 /* Define to 1 if your system has `cosf'. */
00056 #define HAVE_COSF 1
00057 
00058 /* Define if you have the CreateFilemapping function(win32). */
00059 /* #undef HAVE_CREATEFILEMAPPING */
00060 
00061 /* Define to 1 if you have the <dev/ppbus/ppi.h> header file. */
00062 /* #undef HAVE_DEV_PPBUS_PPI_H */
00063 
00064 /* Define to 1 if you have the <dlfcn.h> header file. */
00065 #define HAVE_DLFCN_H 1
00066 
00067 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
00068 /* #undef HAVE_DOPRNT */
00069 
00070 /* Define to 1 if your system has 'exp10'. */
00071 #define HAVE_EXP10 1
00072 
00073 /* Define to 1 if you have the <fcntl.h> header file. */
00074 #define HAVE_FCNTL_H 1
00075 
00076 /* Define to 1 if you have the `getopt' function. */
00077 #define HAVE_GETOPT 1
00078 
00079 /* Define to 1 if you have the `getpagesize' function. */
00080 #define HAVE_GETPAGESIZE 1
00081 
00082 /* Define to 1 if you have the `gettimeofday' function. */
00083 #define HAVE_GETTIMEOFDAY 1
00084 
00085 /* Define to 1 if you have the <inttypes.h> header file. */
00086 #define HAVE_INTTYPES_H 1
00087 
00088 /* Define to 1 if you have the <io.h> header file. */
00089 /* #undef HAVE_IO_H */
00090 
00091 /* Define to 1 if you have the `socket' library (-lsocket). */
00092 /* #undef HAVE_LIBSOCKET */
00093 
00094 /* Define to 1 if you have the <limits.h> header file. */
00095 #define HAVE_LIMITS_H 1
00096 
00097 /* Define to 1 if you have the <linux/ppdev.h> header file. */
00098 #define HAVE_LINUX_PPDEV_H 1
00099 
00100 /* Define to 1 if your system has 'log2'. */
00101 #define HAVE_LOG2 1
00102 
00103 /* Define if lt_dladvise_global exists. */
00104 /* #undef HAVE_LT_DLADVISE_GLOBAL */
00105 
00106 /* Define to 1 if you have the <malloc.h> header file. */
00107 #define HAVE_MALLOC_H 1
00108 
00109 /* Define to 1 if you have the <memory.h> header file. */
00110 #define HAVE_MEMORY_H 1
00111 
00112 /* Define to 1 if you have the `mmap' function. */
00113 #define HAVE_MMAP 1
00114 
00115 /* Define to 1 if you have the `modf' function. */
00116 #define HAVE_MODF 1
00117 
00118 /* Define to 1 if you have the `nanosleep' function. */
00119 #define HAVE_NANOSLEEP 1
00120 
00121 /* Define to 1 if you have the <netdb.h> header file. */
00122 #define HAVE_NETDB_H 1
00123 
00124 /* Define to 1 if you have the <netinet/in.h> header file. */
00125 #define HAVE_NETINET_IN_H 1
00126 
00127 /* Define to 1 if you have the `posix_memalign' function. */
00128 #define HAVE_POSIX_MEMALIGN 1
00129 
00130 /* Define if you have POSIX threads libraries and header files. */
00131 #define HAVE_PTHREAD 1
00132 
00133 /* Define to 1 if you have the `pthread_sigmask' function. */
00134 /* #undef HAVE_PTHREAD_SIGMASK */
00135 
00136 /* Define to 1 if you have the <Python.h> header file. */
00137 #define HAVE_PYTHON_H 1
00138 
00139 /* Define to 1 if you have the `rand' function. */
00140 #define HAVE_RAND 1
00141 
00142 /* Define to 1 if you have the `random' function. */
00143 #define HAVE_RANDOM 1
00144 
00145 /* Define to 1 if you have the <sched.h> header file. */
00146 #define HAVE_SCHED_H 1
00147 
00148 /* Define to 1 if you have the `sched_setaffinity' function. */
00149 #define HAVE_SCHED_SETAFFINITY 1
00150 
00151 /* Define to 1 if you have the `sched_setscheduler' function. */
00152 #define HAVE_SCHED_SETSCHEDULER 1
00153 
00154 /* Define to 1 if you have the `select' function. */
00155 #define HAVE_SELECT 1
00156 
00157 /* Define to 1 if you have the `shm_open' function. */
00158 #define HAVE_SHM_OPEN 1
00159 
00160 /* Define to 1 if you have the `sigaction' function. */
00161 #define HAVE_SIGACTION 1
00162 
00163 /* Define to 1 if you have the <signal.h> header file. */
00164 #define HAVE_SIGNAL_H 1
00165 
00166 /* Define to 1 if you have the `sigprocmask' function. */
00167 #define HAVE_SIGPROCMASK 1
00168 
00169 /* Define to 1 if your system has `sincos'. */
00170 #define HAVE_SINCOS 1
00171 
00172 /* Define to 1 if your system has `sincosf'. */
00173 #define HAVE_SINCOSF 1
00174 
00175 /* Define to 1 if your system has `sinf'. */
00176 #define HAVE_SINF 1
00177 
00178 /* Define to 1 if you have the `sleep' function. */
00179 #define HAVE_SLEEP 1
00180 
00181 /* Define to 1 if you have the `snprintf' function. */
00182 #define HAVE_SNPRINTF 1
00183 
00184 /* Define to 1 if you have the `socket' function. */
00185 #define HAVE_SOCKET 1
00186 
00187 /* Define to 1 if you have the `sqrt' function. */
00188 /* #undef HAVE_SQRT */
00189 
00190 /* Define to 1 if you have the `srand' function. */
00191 #define HAVE_SRAND 1
00192 
00193 /* Define to 1 if you have the `srandom' function. */
00194 #define HAVE_SRANDOM 1
00195 
00196 /* Define to 1 if the system has the type `ssize_t'. */
00197 #define HAVE_SSIZE_T 1
00198 
00199 /* Define to 1 if you have win32 Sleep */
00200 /* #undef HAVE_SSLEEP */
00201 
00202 /* Define to 1 if you have the <stdint.h> header file. */
00203 #define HAVE_STDINT_H 1
00204 
00205 /* Define to 1 if you have the <stdlib.h> header file. */
00206 #define HAVE_STDLIB_H 1
00207 
00208 /* Define to 1 if you have the `strcspn' function. */
00209 #define HAVE_STRCSPN 1
00210 
00211 /* Define to 1 if you have the `strerror' function. */
00212 #define HAVE_STRERROR 1
00213 
00214 /* Define to 1 if you have the <strings.h> header file. */
00215 #define HAVE_STRINGS_H 1
00216 
00217 /* Define to 1 if you have the <string.h> header file. */
00218 #define HAVE_STRING_H 1
00219 
00220 /* Define to 1 if you have the `strspn' function. */
00221 #define HAVE_STRSPN 1
00222 
00223 /* Define to 1 if the system has the type `struct timespec'. */
00224 #define HAVE_STRUCT_TIMESPEC 1
00225 
00226 /* Define to 1 if the system has the type `struct timezone'. */
00227 #define HAVE_STRUCT_TIMEZONE 1
00228 
00229 /* Define to 1 if you have the `sysconf' function. */
00230 #define HAVE_SYSCONF 1
00231 
00232 /* Define to 1 if you have the <sys/ioctl.h> header file. */
00233 #define HAVE_SYS_IOCTL_H 1
00234 
00235 /* Define to 1 if you have the <sys/ipc.h> header file. */
00236 #define HAVE_SYS_IPC_H 1
00237 
00238 /* Define to 1 if you have the <sys/mman.h> header file. */
00239 #define HAVE_SYS_MMAN_H 1
00240 
00241 /* Define to 1 if you have the <sys/resource.h> header file. */
00242 #define HAVE_SYS_RESOURCE_H 1
00243 
00244 /* Define to 1 if you have the <sys/select.h> header file. */
00245 #define HAVE_SYS_SELECT_H 1
00246 
00247 /* Define to 1 if you have the <sys/shm.h> header file. */
00248 #define HAVE_SYS_SHM_H 1
00249 
00250 /* Define to 1 if you have the <sys/socket.h> header file. */
00251 #define HAVE_SYS_SOCKET_H 1
00252 
00253 /* Define to 1 if you have the <sys/stat.h> header file. */
00254 #define HAVE_SYS_STAT_H 1
00255 
00256 /* Define to 1 if you have the <sys/syscall.h> header file. */
00257 #define HAVE_SYS_SYSCALL_H 1
00258 
00259 /* Define to 1 if you have the <sys/time.h> header file. */
00260 #define HAVE_SYS_TIME_H 1
00261 
00262 /* Define to 1 if you have the <sys/types.h> header file. */
00263 #define HAVE_SYS_TYPES_H 1
00264 
00265 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
00266 #define HAVE_SYS_WAIT_H 1
00267 
00268 /* Define to 1 if you have the <time.h> header file. */
00269 #define HAVE_TIME_H 1
00270 
00271 /* Define to 1 if you have the <unistd.h> header file. */
00272 #define HAVE_UNISTD_H 1
00273 
00274 /* Define to 1 if you have the `usleep' function. */
00275 #define HAVE_USLEEP 1
00276 
00277 /* Define to 1 if you have the `valloc' function. */
00278 /* #undef HAVE_VALLOC */
00279 
00280 /* Define to 1 if you have the <vec_types.h> header file. */
00281 /* #undef HAVE_VEC_TYPES_H */
00282 
00283 /* Define to 1 if you have the `vprintf' function. */
00284 #define HAVE_VPRINTF 1
00285 
00286 /* Define to 1 if you have the <winbase.h> header file. */
00287 /* #undef HAVE_WINBASE_H */
00288 
00289 /* Define to 1 if you have the <windows.h> header file. */
00290 /* #undef HAVE_WINDOWS_H */
00291 
00292 /* Define to 1 if you have the <winioctl.h> header file. */
00293 /* #undef HAVE_WINIOCTL_H */
00294 
00295 /* Define to the sub-directory in which libtool stores uninstalled libraries.
00296    */
00297 #define LT_OBJDIR ".libs/"
00298 
00299 /* Name of package */
00300 #define PACKAGE "gnuradio"
00301 
00302 /* Define to the address where bug reports for this package should be sent. */
00303 #define PACKAGE_BUGREPORT ""
00304 
00305 /* Define to the full name of this package. */
00306 #define PACKAGE_NAME ""
00307 
00308 /* Define to the full name and version of this package. */
00309 #define PACKAGE_STRING ""
00310 
00311 /* Define to the one symbol short name of this package. */
00312 #define PACKAGE_TARNAME ""
00313 
00314 /* Define to the home page for this package. */
00315 #define PACKAGE_URL ""
00316 
00317 /* Define to the version of this package. */
00318 #define PACKAGE_VERSION ""
00319 
00320 /* Define to necessary symbol if this constant uses a non-standard name on
00321    your system. */
00322 /* #undef PTHREAD_CREATE_JOINABLE */
00323 
00324 /* The size of `void*', as computed by sizeof. */
00325 /* #undef SIZEOF_VOIDP */
00326 
00327 /* If using the C implementation of alloca, define if you know the
00328    direction of stack growth for your system; otherwise it will be
00329    automatically deduced at runtime.
00330         STACK_DIRECTION > 0 => grows toward higher addresses
00331         STACK_DIRECTION < 0 => grows toward lower addresses
00332         STACK_DIRECTION = 0 => direction of growth unknown */
00333 /* #undef STACK_DIRECTION */
00334 
00335 /* Define to 1 if you have the ANSI C header files. */
00336 #define STDC_HEADERS 1
00337 
00338 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
00339 #define TIME_WITH_SYS_TIME 1
00340 
00341 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
00342 /* #undef TM_IN_SYS_TIME */
00343 
00344 /* Define if ok to try shm vmcircbuf methods */
00345 #define TRY_SHM_VMCIRCBUF 1
00346 
00347 /* Enable extensions on AIX 3, Interix.  */
00348 #ifndef _ALL_SOURCE
00349 # define _ALL_SOURCE 1
00350 #endif
00351 /* Enable GNU extensions on systems that have them.  */
00352 #ifndef _GNU_SOURCE
00353 # define _GNU_SOURCE 1
00354 #endif
00355 /* Enable threading extensions on Solaris.  */
00356 #ifndef _POSIX_PTHREAD_SEMANTICS
00357 # define _POSIX_PTHREAD_SEMANTICS 1
00358 #endif
00359 /* Enable extensions on HP NonStop.  */
00360 #ifndef _TANDEM_SOURCE
00361 # define _TANDEM_SOURCE 1
00362 #endif
00363 /* Enable general extensions on Solaris.  */
00364 #ifndef __EXTENSIONS__
00365 # define __EXTENSIONS__ 1
00366 #endif
00367 
00368 
00369 /* Version number of package */
00370 #define VERSION "3.5.3.1"
00371 
00372 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
00373    significant byte first (like Motorola and SPARC, unlike Intel). */
00374 #if defined AC_APPLE_UNIVERSAL_BUILD
00375 # if defined __BIG_ENDIAN__
00376 #  define WORDS_BIGENDIAN 1
00377 # endif
00378 #else
00379 # ifndef WORDS_BIGENDIAN
00380 /* #  undef WORDS_BIGENDIAN */
00381 # endif
00382 #endif
00383 
00384 /* Define to 1 if on MINIX. */
00385 /* #undef _MINIX */
00386 
00387 /* Define to 2 if the system does not provide POSIX.1 features except with
00388    this defined. */
00389 /* #undef _POSIX_1_SOURCE */
00390 
00391 /* Define to 1 if you need to in order for `stat' and other things to work. */
00392 /* #undef _POSIX_SOURCE */
00393 
00394 /* Define to empty if `const' does not conform to ANSI C. */
00395 /* #undef const */
00396 
00397 /* Define to `__inline__' or `__inline' if that's what the C compiler
00398    calls it, or to nothing if 'inline' is not supported under any name.  */
00399 #ifndef __cplusplus
00400 /* #undef inline */
00401 #endif
00402 
00403 /* Define to `unsigned int' if <sys/types.h> does not define. */
00404 /* #undef size_t */
00405 
00406 
00407 #ifndef HAVE_EXP10
00408 #include <math.h>
00409 inline static double exp10(double x)
00410 {
00411   return pow(10.0, x);
00412 }
00413 #endif
00414 
00415 #ifdef HAVE_WINDOWS_H
00416 #define NOMINMAX
00417 #endif
00418 
00419 
00420 
00421 /* Define missing prototypes, implemented in replacement lib */
00422 #ifdef  __cplusplus
00423 extern "C" {
00424 #endif
00425 
00426 #ifndef HAVE_GETOPT
00427 int getopt (int argc, char * const argv[], const char * optstring);
00428 extern char * optarg;
00429 extern int optind, opterr, optopt;
00430 #endif
00431 
00432 #ifndef HAVE_USLEEP
00433 int usleep(unsigned long usec); /* SUSv2 */
00434 #endif
00435 
00436 #ifndef HAVE_NANOSLEEP
00437 #ifndef HAVE_STRUCT_TIMESPEC
00438 #if HAVE_SYS_TYPES_H
00439 # include <sys/types.h> /* need time_t */
00440 #endif
00441 struct timespec {
00442         time_t  tv_sec;
00443         long    tv_nsec;
00444 };
00445 #endif
00446 #if HAVE_UNISTD_H
00447 #include <unistd.h>
00448 #endif
00449 static inline int nanosleep(const struct timespec *req, struct timespec *rem) { return usleep(req->tv_sec*1000000+req->tv_nsec/1000); }
00450 #endif
00451 
00452 #if defined(HAVE_SSLEEP) && !defined(HAVE_SLEEP)
00453 #ifdef HAVE_WINBASE_H
00454 #include <windows.h>
00455 #include <winbase.h>
00456 #endif
00457 /* TODO: what about SleepEx? */
00458 static inline unsigned int sleep (unsigned int nb_sec) { Sleep(nb_sec*1000); return 0; }
00459 #endif
00460 
00461 #ifndef HAVE_GETTIMEOFDAY
00462 #ifdef HAVE_SYS_TIME_H
00463 #include <sys/time.h>
00464 #endif
00465 #ifndef HAVE_STRUCT_TIMEZONE
00466 struct timezone {
00467         int  tz_minuteswest;
00468         int  tz_dsttime;
00469 };
00470 #endif
00471 int gettimeofday(struct timeval *tv, struct timezone *tz);
00472 #endif
00473 
00474 #if !defined(HAVE_RANDOM) && defined(HAVE_RAND)
00475 #include <stdlib.h>
00476 static inline long int random (void) { return rand(); }
00477 #endif
00478 
00479 #if !defined(HAVE_SRANDOM) && defined(HAVE_SRAND)
00480 static inline void srandom (unsigned int seed) { srand(seed); }
00481 #endif
00482 
00483 #ifndef HAVE_SSIZE_T
00484 typedef size_t ssize_t;
00485 #endif
00486 
00487 #ifdef  __cplusplus
00488 }
00489 #endif
00490