00001 /* config.h. Generated from config.h.in by configure. */ 00002 /* config.h.in. Generated from configure.ac by autoheader. */ 00003 00004 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP 00005 systems. This function is required for `alloca.c' support on those systems. 00006 */ 00007 /* #undef CRAY_STACKSEG_END */ 00008 00009 /* Define if for loop scoping is broken */ 00010 #define CXX_HAS_BUGGY_FOR_LOOPS 00011 00012 /* Define if C++ is missing bool type */ 00013 /* #undef CXX_HAS_NO_BOOL */ 00014 00015 /* Define if has std::isnan */ 00016 #define CXX_HAS_STD_ISNAN 00017 00018 /* Define to 1 if using `alloca.c'. */ 00019 /* #undef C_ALLOCA */ 00020 00021 /* Define to 1 if you have `alloca', as a function or macro. */ 00022 #define HAVE_ALLOCA 1 00023 00024 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 00025 */ 00026 #define HAVE_ALLOCA_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 to 1 if you have the <byteswap.h> header file. */ 00035 #define HAVE_BYTESWAP_H 1 00036 00037 /* Define to 1 if you have the `clock_gettime' function. */ 00038 #define HAVE_CLOCK_GETTIME 1 00039 00040 /* Define to 1 if your system has `cosf'. */ 00041 #define HAVE_COSF 1 00042 00043 /* Define if you have the CreateFilemapping function(win32). */ 00044 /* #undef HAVE_CREATEFILEMAPPING */ 00045 00046 /* Define to 1 if you have the declaration of `getenv', and to 0 if you don't. 00047 */ 00048 #define HAVE_DECL_GETENV 1 00049 00050 /* Define to 1 if you have the <dlfcn.h> header file. */ 00051 #define HAVE_DLFCN_H 1 00052 00053 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ 00054 /* #undef HAVE_DOPRNT */ 00055 00056 /* Define to 1 if your system has 'exp10'. */ 00057 #define HAVE_EXP10 1 00058 00059 /* Define to 1 if you have the <fcntl.h> header file. */ 00060 #define HAVE_FCNTL_H 1 00061 00062 /* Define to 1 if you have the `getopt' function. */ 00063 #define HAVE_GETOPT 1 00064 00065 /* Define to 1 if you have the `getpagesize' function. */ 00066 #define HAVE_GETPAGESIZE 1 00067 00068 /* Define to 1 if you have the `getrusage' function. */ 00069 #define HAVE_GETRUSAGE 1 00070 00071 /* Define to 1 if you have the `gettimeofday' function. */ 00072 #define HAVE_GETTIMEOFDAY 1 00073 00074 /* Define to 1 if you have the <inttypes.h> header file. */ 00075 #define HAVE_INTTYPES_H 1 00076 00077 /* Define to 1 if you have the <io.h> header file. */ 00078 /* #undef HAVE_IO_H */ 00079 00080 /* Define to 1 if you have the `ossaudio' library (-lossaudio). */ 00081 /* #undef HAVE_LIBOSSAUDIO */ 00082 00083 /* Define to 1 if you have the `socket' library (-lsocket). */ 00084 /* #undef HAVE_LIBSOCKET */ 00085 00086 /* Define to 1 if you have the `winmm' library (-lwinmm). */ 00087 /* #undef HAVE_LIBWINMM */ 00088 00089 /* Define to 1 if you have the <limits.h> header file. */ 00090 #define HAVE_LIMITS_H 1 00091 00092 /* Define to 1 if you have the <linux/compiler.h> header file. */ 00093 /* #undef HAVE_LINUX_COMPILER_H */ 00094 00095 /* Define to 1 if you have the <linux/ppdev.h> header file. */ 00096 #define HAVE_LINUX_PPDEV_H 1 00097 00098 /* Define to 1 if you have the `lstat' function. */ 00099 /* #undef HAVE_LSTAT */ 00100 00101 /* Define to 1 if you have the <memory.h> header file. */ 00102 #define HAVE_MEMORY_H 1 00103 00104 /* Define to 1 if you have the `mkstemp' function. */ 00105 #define HAVE_MKSTEMP 1 00106 00107 /* Define to 1 if you have the `mmap' function. */ 00108 #define HAVE_MMAP 1 00109 00110 /* Define to 1 if you have the `modf' function. */ 00111 #define HAVE_MODF 1 00112 00113 /* Define to 1 if you have the `nanosleep' function. */ 00114 #define HAVE_NANOSLEEP 1 00115 00116 /* Define if you have POSIX threads libraries and header files. */ 00117 #define HAVE_PTHREAD 1 00118 00119 /* Define to 1 if you have the `pthread_setschedparam' function. */ 00120 #define HAVE_PTHREAD_SETSCHEDPARAM 1 00121 00122 /* Define to 1 if you have the `pthread_sigmask' function. */ 00123 #define HAVE_PTHREAD_SIGMASK 1 00124 00125 /* Define to 1 if you have the <Python.h> header file. */ 00126 #define HAVE_PYTHON_H 1 00127 00128 /* Define to 1 if you have the `rand' function. */ 00129 #define HAVE_RAND 1 00130 00131 /* Define to 1 if you have the `random' function. */ 00132 #define HAVE_RANDOM 1 00133 00134 /* Define to 1 if you have the <sched.h> header file. */ 00135 #define HAVE_SCHED_H 1 00136 00137 /* Define to 1 if you have the `sched_setaffinity' function. */ 00138 #define HAVE_SCHED_SETAFFINITY 1 00139 00140 /* Define to 1 if you have the `sched_setscheduler' function. */ 00141 #define HAVE_SCHED_SETSCHEDULER 1 00142 00143 /* Define to 1 if you have the `select' function. */ 00144 #define HAVE_SELECT 1 00145 00146 /* Define to 1 if you have the `shm_open' function. */ 00147 #define HAVE_SHM_OPEN 1 00148 00149 /* Define to 1 if you have the `sigaction' function. */ 00150 #define HAVE_SIGACTION 1 00151 00152 /* Define to 1 if you have the <signal.h> header file. */ 00153 #define HAVE_SIGNAL_H 1 00154 00155 /* Define to 1 if you have the `sigprocmask' function. */ 00156 #define HAVE_SIGPROCMASK 1 00157 00158 /* Define to 1 if your system has `sincos'. */ 00159 #define HAVE_SINCOS 1 00160 00161 /* Define to 1 if your system has `sincosf'. */ 00162 #define HAVE_SINCOSF 1 00163 00164 /* Define to 1 if your system has `sinf'. */ 00165 #define HAVE_SINF 1 00166 00167 /* Define to 1 if you have the `sleep' function. */ 00168 #define HAVE_SLEEP 1 00169 00170 /* Define to 1 if you have the `snprintf' function. */ 00171 #define HAVE_SNPRINTF 1 00172 00173 /* Define to 1 if you have the `socket' function. */ 00174 #define HAVE_SOCKET 1 00175 00176 /* Define to 1 if you have the `sqrt' function. */ 00177 /* #undef HAVE_SQRT */ 00178 00179 /* Define to 1 if you have the `srand' function. */ 00180 #define HAVE_SRAND 1 00181 00182 /* Define to 1 if you have the `srandom' function. */ 00183 #define HAVE_SRANDOM 1 00184 00185 /* Define to 1 if the system has the type `ssize_t'. */ 00186 #define HAVE_SSIZE_T 1 00187 00188 /* Define to 1 if you have win32 Sleep */ 00189 /* #undef HAVE_SSLEEP */ 00190 00191 /* Define to 1 if you have the <stdint.h> header file. */ 00192 #define HAVE_STDINT_H 1 00193 00194 /* Define to 1 if you have the <stdlib.h> header file. */ 00195 #define HAVE_STDLIB_H 1 00196 00197 /* Define to 1 if you have the `strcspn' function. */ 00198 #define HAVE_STRCSPN 1 00199 00200 /* Define to 1 if you have the `strerror' function. */ 00201 #define HAVE_STRERROR 1 00202 00203 /* Define to 1 if you have the <strings.h> header file. */ 00204 #define HAVE_STRINGS_H 1 00205 00206 /* Define to 1 if you have the <string.h> header file. */ 00207 #define HAVE_STRING_H 1 00208 00209 /* Define to 1 if you have the `strspn' function. */ 00210 #define HAVE_STRSPN 1 00211 00212 /* Define to 1 if the system has the type `struct timespec'. */ 00213 #define HAVE_STRUCT_TIMESPEC 1 00214 00215 /* Define to 1 if the system has the type `struct timezone'. */ 00216 #define HAVE_STRUCT_TIMEZONE 1 00217 00218 /* Define to 1 if you have the `sysconf' function. */ 00219 #define HAVE_SYSCONF 1 00220 00221 /* Define to 1 if you have the <sys/ioctl.h> header file. */ 00222 #define HAVE_SYS_IOCTL_H 1 00223 00224 /* Define to 1 if you have the <sys/ipc.h> header file. */ 00225 #define HAVE_SYS_IPC_H 1 00226 00227 /* Define to 1 if you have the <sys/mman.h> header file. */ 00228 #define HAVE_SYS_MMAN_H 1 00229 00230 /* Define to 1 if you have the <sys/resource.h> header file. */ 00231 #define HAVE_SYS_RESOURCE_H 1 00232 00233 /* Define to 1 if you have the <sys/select.h> header file. */ 00234 #define HAVE_SYS_SELECT_H 1 00235 00236 /* Define to 1 if you have the <sys/shm.h> header file. */ 00237 #define HAVE_SYS_SHM_H 1 00238 00239 /* Define to 1 if you have the <sys/stat.h> header file. */ 00240 #define HAVE_SYS_STAT_H 1 00241 00242 /* Define to 1 if you have the <sys/syscall.h> header file. */ 00243 #define HAVE_SYS_SYSCALL_H 1 00244 00245 /* Define to 1 if you have the <sys/time.h> header file. */ 00246 #define HAVE_SYS_TIME_H 1 00247 00248 /* Define to 1 if you have the <sys/types.h> header file. */ 00249 #define HAVE_SYS_TYPES_H 1 00250 00251 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ 00252 #define HAVE_SYS_WAIT_H 1 00253 00254 /* Define to 1 if you have the <time.h> header file. */ 00255 #define HAVE_TIME_H 1 00256 00257 /* Define to 1 if your system has `trunc'. */ 00258 #define HAVE_TRUNC 1 00259 00260 /* Define to 1 if you have the <unistd.h> header file. */ 00261 #define HAVE_UNISTD_H 1 00262 00263 /* Define to 1 if you have the <usb.h> header file. */ 00264 #define HAVE_USB_H 1 00265 00266 /* Define to 1 if you have the `usleep' function. */ 00267 #define HAVE_USLEEP 1 00268 00269 /* Define to 1 if you have the `vprintf' function. */ 00270 #define HAVE_VPRINTF 1 00271 00272 /* Define to 1 if you have the <winbase.h> header file. */ 00273 /* #undef HAVE_WINBASE_H */ 00274 00275 /* Define to 1 if you have the <windows.h> header file. */ 00276 /* #undef HAVE_WINDOWS_H */ 00277 00278 /* Define to 1 if you have the <winioctl.h> header file. */ 00279 /* #undef HAVE_WINIOCTL_H */ 00280 00281 /* Define to 1 if you have the `__secure_getenv' function. */ 00282 /* #undef HAVE___SECURE_GETENV */ 00283 00284 /* Define if mkdir accepts only one arg */ 00285 /* #undef MKDIR_TAKES_ONE_ARG */ 00286 00287 /* Define to disable asserts (don't doit!) */ 00288 /* #undef NDEBUG */ 00289 00290 /* Name of package */ 00291 #define PACKAGE "gnuradio" 00292 00293 /* Define to the address where bug reports for this package should be sent. */ 00294 #define PACKAGE_BUGREPORT "" 00295 00296 /* Define to the full name of this package. */ 00297 #define PACKAGE_NAME "" 00298 00299 /* Define to the full name and version of this package. */ 00300 #define PACKAGE_STRING "" 00301 00302 /* Define to the one symbol short name of this package. */ 00303 #define PACKAGE_TARNAME "" 00304 00305 /* Define to the version of this package. */ 00306 #define PACKAGE_VERSION "" 00307 00308 /* Define to 1 if the C compiler supports function prototypes. */ 00309 #define PROTOTYPES 1 00310 00311 /* Define to the necessary symbol if this constant uses a non-standard name on 00312 your system. */ 00313 /* #undef PTHREAD_CREATE_JOINABLE */ 00314 00315 /* Define to 1 if the `setvbuf' function takes the buffering type as its 00316 second argument and the buffer pointer as the third, as on System V before 00317 release 3. */ 00318 /* #undef SETVBUF_REVERSED */ 00319 00320 /* If using the C implementation of alloca, define if you know the 00321 direction of stack growth for your system; otherwise it will be 00322 automatically deduced at runtime. 00323 STACK_DIRECTION > 0 => grows toward higher addresses 00324 STACK_DIRECTION < 0 => grows toward lower addresses 00325 STACK_DIRECTION = 0 => direction of growth unknown */ 00326 /* #undef STACK_DIRECTION */ 00327 00328 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 00329 /* #undef STAT_MACROS_BROKEN */ 00330 00331 /* Define to 1 if you have the ANSI C header files. */ 00332 #define STDC_HEADERS 1 00333 00334 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 00335 #define TIME_WITH_SYS_TIME 1 00336 00337 /* Define to 1 if your <sys/time.h> declares `struct tm'. */ 00338 /* #undef TM_IN_SYS_TIME */ 00339 00340 /* Version number of package */ 00341 #define VERSION "3.1.1" 00342 00343 /* Define to 1 if your processor stores words with the most significant byte 00344 first (like Motorola and SPARC, unlike Intel and VAX). */ 00345 /* #undef WORDS_BIGENDIAN */ 00346 00347 /* Define to 1 if on AIX 3. 00348 System headers sometimes define this. 00349 We just want to avoid a redefinition error message. */ 00350 #ifndef _ALL_SOURCE 00351 /* # undef _ALL_SOURCE */ 00352 #endif 00353 00354 /* Define to 1 if on MINIX. */ 00355 /* #undef _MINIX */ 00356 00357 /* Define to 2 if the system does not provide POSIX.1 features except with 00358 this defined. */ 00359 /* #undef _POSIX_1_SOURCE */ 00360 00361 /* Define to 1 if you need to in order for `stat' and other things to work. */ 00362 /* #undef _POSIX_SOURCE */ 00363 00364 /* Define like PROTOTYPES; this can be used by system headers. */ 00365 #define __PROTOTYPES 1 00366 00367 /* Define to empty if `const' does not conform to ANSI C. */ 00368 /* #undef const */ 00369 00370 /* Define to `__inline__' or `__inline' if that's what the C compiler 00371 calls it, or to nothing if 'inline' is not supported under any name. */ 00372 #ifndef __cplusplus 00373 /* #undef inline */ 00374 #endif 00375 00376 /* Define to rpl_mkstemp if the replacement function should be used. */ 00377 /* #undef mkstemp */ 00378 00379 /* Define to `unsigned int' if <sys/types.h> does not define. */ 00380 /* #undef size_t */ 00381 00382 // Workaround for compilers with buggy for-loop scoping 00383 // That's quite a few compilers actually including recent versions of 00384 // Dec Alpha cxx, HP-UX CC and SGI CC. 00385 // The trivial "if" statement provides the correct scoping to the 00386 // for loop 00387 00388 #ifdef CXX_HAS_BUGGY_FOR_LOOPS 00389 /* #undef for */ 00390 #define for if(1) for 00391 #endif 00392 00393 00394 // If the C++ compiler we use doesn't have bool, then 00395 // the following is a near-perfect work-around. 00396 // You must make sure your code does not depend on "int" and "bool" 00397 // being two different types, in overloading for instance. 00398 00399 #ifdef CXX_HAS_NO_BOOL 00400 #define bool int 00401 #define true 1 00402 #define false 0 00403 #endif 00404 00405 00406 00407 #ifndef HAVE_TRUNC 00408 #include <math.h> 00409 inline static double trunc(double x) 00410 { 00411 return x >= 0 ? floor(x) : ceil(x); 00412 } 00413 #endif 00414 00415 #ifndef HAVE_EXP10 00416 #include <math.h> 00417 inline static double exp10(double x) 00418 { 00419 return pow(10.0, x); 00420 } 00421 #endif 00422 00423 00424 00425 /* Define missing prototypes, implemented in replacement lib */ 00426 #ifdef __cplusplus 00427 extern "C" { 00428 #endif 00429 00430 #ifndef HAVE_GETOPT 00431 int getopt (int argc, char * const argv[], const char * optstring); 00432 extern char * optarg; 00433 extern int optind, opterr, optopt; 00434 #endif 00435 00436 #ifndef HAVE_USLEEP 00437 int usleep(unsigned long usec); /* SUSv2 */ 00438 #endif 00439 00440 #ifndef HAVE_NANOSLEEP 00441 #ifndef HAVE_STRUCT_TIMESPEC 00442 #if HAVE_SYS_TYPES_H 00443 # include <sys/types.h> /* need time_t */ 00444 #endif 00445 struct timespec { 00446 time_t tv_sec; 00447 long tv_nsec; 00448 }; 00449 #endif 00450 static inline int nanosleep(const struct timespec *req, struct timespec *rem) { return usleep(req->tv_sec*1000000+req->tv_nsec/1000); } 00451 #endif 00452 00453 #if defined(HAVE_SSLEEP) && !defined(HAVE_SLEEP) 00454 #ifdef HAVE_WINBASE_H 00455 #include <windows.h> 00456 #include <winbase.h> 00457 #endif 00458 /* TODO: what about SleepEx? */ 00459 static inline unsigned int sleep (unsigned int nb_sec) { Sleep(nb_sec*1000); return 0; } 00460 #endif 00461 00462 #ifndef HAVE_GETTIMEOFDAY 00463 #ifdef HAVE_SYS_TIME_H 00464 #include <sys/time.h> 00465 #endif 00466 #ifndef HAVE_STRUCT_TIMEZONE 00467 struct timezone { 00468 int tz_minuteswest; 00469 int tz_dsttime; 00470 }; 00471 #endif 00472 int gettimeofday(struct timeval *tv, struct timezone *tz); 00473 #endif 00474 00475 #if !defined(HAVE_RANDOM) && defined(HAVE_RAND) 00476 #include <stdlib.h> 00477 static inline long int random (void) { return rand(); } 00478 #endif 00479 00480 #if !defined(HAVE_SRANDOM) && defined(HAVE_SRAND) 00481 static inline void srandom (unsigned int seed) { srand(seed); } 00482 #endif 00483 00484 #ifndef HAVE_SSIZE_T 00485 typedef size_t ssize_t; 00486 #endif 00487 00488 #ifdef __cplusplus 00489 } 00490 #endif 00491 00492 00493 00494 #ifndef HAVE_MKSTEMP 00495 #ifdef __cplusplus 00496 extern "C" { 00497 #endif 00498 int rpl_mkstemp (char *templ); 00499 #ifdef __cplusplus 00500 } 00501 #endif 00502 #endif 00503