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