1 /* config.h.in. Generated from configure.ac by autoheader. */
3 /* Define if building universal (internal helper macro) */
4 #undef AC_APPLE_UNIVERSAL_BUILD
6 /* Define as the alignment of malloc if known; otherwise 0. */
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.
12 #undef CRAY_STACKSEG_END
14 /* Define if has std::isnan */
15 #undef CXX_HAS_STD_ISNAN
17 /* Define to 1 if using `alloca.c'. */
20 /* Define to 1 if you have `alloca', as a function or macro. */
23 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
27 /* Define to 1 if you have the <arpa/inet.h> header file. */
28 #undef HAVE_ARPA_INET_H
30 /* Define to 1 if you have the <AudioToolbox/AudioToolbox.h> header file. */
31 #undef HAVE_AUDIOTOOLBOX_AUDIOTOOLBOX_H
33 /* Define to 1 if you have the <AudioUnit/AudioUnit.h> header file. */
34 #undef HAVE_AUDIOUNIT_AUDIOUNIT_H
36 /* Define if the Boost headers are available */
39 /* Define if the boost_date_time library is available */
40 #undef HAVE_BOOST_DATE_TIME
42 /* Define if the boost_program_options library is available */
43 #undef HAVE_BOOST_PROGRAM_OPTIONS
45 /* Define if the boost_thread library is available */
46 #undef HAVE_BOOST_THREAD
48 /* Define to 1 if you have the <byteswap.h> header file. */
49 #undef HAVE_BYTESWAP_H
51 /* Define if you have a CBLAS library. */
54 /* Define to 1 if you have the `clock_gettime' function. */
55 #undef HAVE_CLOCK_GETTIME
57 /* Define to 1 if your system has `cosf'. */
60 /* Define if you have the CreateFilemapping function(win32). */
61 #undef HAVE_CREATEFILEMAPPING
63 /* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
65 #undef HAVE_DECL_GETENV
67 /* Define to 1 if you have the <dev/ppbus/ppi.h> header file. */
68 #undef HAVE_DEV_PPBUS_PPI_H
70 /* Define to 1 if you have the <dlfcn.h> header file. */
73 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
76 /* Define to 1 if your system has 'exp10'. */
79 /* Define to 1 if you have the <fcntl.h> header file. */
82 /* Define to 1 if you have the `getopt' function. */
85 /* Define to 1 if you have the `getpagesize' function. */
86 #undef HAVE_GETPAGESIZE
88 /* Define to 1 if you have the `getrusage' function. */
91 /* Define to 1 if you have the `gettimeofday' function. */
92 #undef HAVE_GETTIMEOFDAY
94 /* Define to 1 if you have the <inttypes.h> header file. */
95 #undef HAVE_INTTYPES_H
97 /* Define to 1 if you have the <io.h> header file. */
100 /* Define to 1 if you have the `ossaudio' library (-lossaudio). */
101 #undef HAVE_LIBOSSAUDIO
103 /* Define to 1 if you have the `socket' library (-lsocket). */
104 #undef HAVE_LIBSOCKET
106 /* Define to 1 if you have the `winmm' library (-lwinmm). */
109 /* Define to 1 if you have the <limits.h> header file. */
112 /* Define to 1 if you have the <linux/compiler.h> header file. */
113 #undef HAVE_LINUX_COMPILER_H
115 /* Define to 1 if you have the <linux/if_packet.h> header file. */
116 #undef HAVE_LINUX_IF_PACKET_H
118 /* Define to 1 if you have the <linux/ppdev.h> header file. */
119 #undef HAVE_LINUX_PPDEV_H
121 /* Define to 1 if your system has 'log2'. */
124 /* Define to 1 if you have the `lstat' function. */
127 /* Define to 1 if you have the <malloc.h> header file. */
130 /* Define to 1 if you have the <memory.h> header file. */
133 /* Define to 1 if you have the `mkstemp' function. */
136 /* Define to 1 if you have the `mmap' function. */
139 /* Define to 1 if you have the `modf' function. */
142 /* Define to 1 if you have the `nanosleep' function. */
143 #undef HAVE_NANOSLEEP
145 /* Define to 1 if you have the <netinet/in.h> header file. */
146 #undef HAVE_NETINET_IN_H
148 /* Define to 1 if you have the `posix_memalign' function. */
149 #undef HAVE_POSIX_MEMALIGN
151 /* Define if you have POSIX threads libraries and header files. */
154 /* Define to 1 if you have the `pthread_setschedparam' function. */
155 #undef HAVE_PTHREAD_SETSCHEDPARAM
157 /* Define to 1 if you have the `pthread_sigmask' function. */
158 #undef HAVE_PTHREAD_SIGMASK
160 /* Define to 1 if you have the <Python.h> header file. */
163 /* Define to 1 if you have the `rand' function. */
166 /* Define to 1 if you have the `random' function. */
169 /* Define to 1 if you have the <sched.h> header file. */
172 /* Define to 1 if you have the `sched_setaffinity' function. */
173 #undef HAVE_SCHED_SETAFFINITY
175 /* Define to 1 if you have the `sched_setscheduler' function. */
176 #undef HAVE_SCHED_SETSCHEDULER
178 /* Define to 1 if you have the `select' function. */
181 /* Define to 1 if you have the `shm_open' function. */
184 /* Define to 1 if you have the `sigaction' function. */
185 #undef HAVE_SIGACTION
187 /* Define to 1 if you have the <signal.h> header file. */
190 /* Define to 1 if you have the `sigprocmask' function. */
191 #undef HAVE_SIGPROCMASK
193 /* Define to 1 if your system has `sincos'. */
196 /* Define to 1 if your system has `sincosf'. */
199 /* Define to 1 if your system has `sinf'. */
202 /* Define to 1 if you have the `sleep' function. */
205 /* Define to 1 if you have the `snprintf' function. */
208 /* Define to 1 if you have the `socket' function. */
211 /* Define to 1 if you have the `sqrt' function. */
214 /* Define to 1 if you have the `srand' function. */
217 /* Define to 1 if you have the `srandom' function. */
220 /* Define to 1 if the system has the type `ssize_t'. */
223 /* Define to 1 if you have win32 Sleep */
226 /* Define to 1 if you have the <stdint.h> header file. */
229 /* Define to 1 if you have the <stdlib.h> header file. */
232 /* Define to 1 if you have the `strcspn' function. */
235 /* Define to 1 if you have the `strerror' function. */
238 /* Define to 1 if you have the <strings.h> header file. */
239 #undef HAVE_STRINGS_H
241 /* Define to 1 if you have the <string.h> header file. */
244 /* Define to 1 if you have the `strspn' function. */
247 /* Define to 1 if `cmcred_uid' is member of `struct cmsgcred'. */
248 #undef HAVE_STRUCT_CMSGCRED_CMCRED_UID
250 /* Define to 1 if `msg_accrights' is member of `struct msghdr'. */
251 #undef HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS
253 /* Define to 1 if `msg_control' is member of `struct msghdr'. */
254 #undef HAVE_STRUCT_MSGHDR_MSG_CONTROL
256 /* Define to 1 if the system has the type `struct timespec'. */
257 #undef HAVE_STRUCT_TIMESPEC
259 /* Define to 1 if the system has the type `struct timezone'. */
260 #undef HAVE_STRUCT_TIMEZONE
262 /* Define to 1 if `uid' is member of `struct ucred'. */
263 #undef HAVE_STRUCT_UCRED_UID
265 /* Define to 1 if you have the `sysconf' function. */
268 /* Define to 1 if you have the <sys/ioctl.h> header file. */
269 #undef HAVE_SYS_IOCTL_H
271 /* Define to 1 if you have the <sys/ipc.h> header file. */
272 #undef HAVE_SYS_IPC_H
274 /* Define to 1 if you have the <sys/mman.h> header file. */
275 #undef HAVE_SYS_MMAN_H
277 /* Define to 1 if you have the <sys/resource.h> header file. */
278 #undef HAVE_SYS_RESOURCE_H
280 /* Define to 1 if you have the <sys/select.h> header file. */
281 #undef HAVE_SYS_SELECT_H
283 /* Define to 1 if you have the <sys/shm.h> header file. */
284 #undef HAVE_SYS_SHM_H
286 /* Define to 1 if you have the <sys/socket.h> header file. */
287 #undef HAVE_SYS_SOCKET_H
289 /* Define to 1 if you have the <sys/stat.h> header file. */
290 #undef HAVE_SYS_STAT_H
292 /* Define to 1 if you have the <sys/syscall.h> header file. */
293 #undef HAVE_SYS_SYSCALL_H
295 /* Define to 1 if you have the <sys/time.h> header file. */
296 #undef HAVE_SYS_TIME_H
298 /* Define to 1 if you have the <sys/types.h> header file. */
299 #undef HAVE_SYS_TYPES_H
301 /* Define to 1 if you have the <sys/un.h> header file. */
304 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
305 #undef HAVE_SYS_WAIT_H
307 /* Define to 1 if you have the <time.h> header file. */
310 /* Define to 1 if your system has `trunc'. */
313 /* Define to 1 if you have the <unistd.h> header file. */
316 /* Define to 1 if you have the <usb.h> header file. */
319 /* Define to 1 if you have the `usleep' function. */
322 /* Define to 1 if you have the `valloc' function. */
325 /* Define to 1 if you have the <vec_types.h> header file. */
326 #undef HAVE_VEC_TYPES_H
328 /* Define to 1 if you have the `vprintf' function. */
331 /* Define to 1 if you have the <winbase.h> header file. */
332 #undef HAVE_WINBASE_H
334 /* Define to 1 if you have the <windows.h> header file. */
335 #undef HAVE_WINDOWS_H
337 /* Define to 1 if you have the <winioctl.h> header file. */
338 #undef HAVE_WINIOCTL_H
340 /* Define to 1 if you have the `__secure_getenv' function. */
341 #undef HAVE___SECURE_GETENV
343 /* Define to the sub-directory in which libtool stores uninstalled libraries.
347 /* Define if mkdir accepts only one arg */
348 #undef MKDIR_TAKES_ONE_ARG
350 /* Name of package */
353 /* Define to the address where bug reports for this package should be sent. */
354 #undef PACKAGE_BUGREPORT
356 /* Define to the full name of this package. */
359 /* Define to the full name and version of this package. */
360 #undef PACKAGE_STRING
362 /* Define to the one symbol short name of this package. */
363 #undef PACKAGE_TARNAME
365 /* Define to the version of this package. */
366 #undef PACKAGE_VERSION
368 /* Define to necessary symbol if this constant uses a non-standard name on
370 #undef PTHREAD_CREATE_JOINABLE
372 /* If using the C implementation of alloca, define if you know the
373 direction of stack growth for your system; otherwise it will be
374 automatically deduced at runtime.
375 STACK_DIRECTION > 0 => grows toward higher addresses
376 STACK_DIRECTION < 0 => grows toward lower addresses
377 STACK_DIRECTION = 0 => direction of growth unknown */
378 #undef STACK_DIRECTION
380 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
381 #undef STAT_MACROS_BROKEN
383 /* Define to 1 if you have the ANSI C header files. */
386 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
387 #undef TIME_WITH_SYS_TIME
389 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
390 #undef TM_IN_SYS_TIME
392 /* Enable extensions on AIX 3, Interix. */
396 /* Enable GNU extensions on systems that have them. */
400 /* Enable threading extensions on Solaris. */
401 #ifndef _POSIX_PTHREAD_SEMANTICS
402 # undef _POSIX_PTHREAD_SEMANTICS
404 /* Enable extensions on HP NonStop. */
405 #ifndef _TANDEM_SOURCE
406 # undef _TANDEM_SOURCE
408 /* Enable general extensions on Solaris. */
409 #ifndef __EXTENSIONS__
410 # undef __EXTENSIONS__
414 /* Version number of package */
417 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
418 significant byte first (like Motorola and SPARC, unlike Intel). */
419 #if defined AC_APPLE_UNIVERSAL_BUILD
420 # if defined __BIG_ENDIAN__
421 # define WORDS_BIGENDIAN 1
424 # ifndef WORDS_BIGENDIAN
425 # undef WORDS_BIGENDIAN
429 /* Define to 1 if on MINIX. */
432 /* Define to 2 if the system does not provide POSIX.1 features except with
434 #undef _POSIX_1_SOURCE
436 /* Define to 1 if you need to in order for `stat' and other things to work. */
439 /* Define to empty if `const' does not conform to ANSI C. */
442 /* Define to `__inline__' or `__inline' if that's what the C compiler
443 calls it, or to nothing if 'inline' is not supported under any name. */
448 /* Define to rpl_mkstemp if the replacement function should be used. */
451 /* Define to `unsigned int' if <sys/types.h> does not define. */
457 inline static double trunc(double x)
459 return x >= 0 ? floor(x) : ceil(x);
465 inline static double exp10(double x)
471 #ifdef HAVE_WINDOWS_H
477 /* Define missing prototypes, implemented in replacement lib */
483 int getopt (int argc, char * const argv[], const char * optstring);
484 extern char * optarg;
485 extern int optind, opterr, optopt;
489 int usleep(unsigned long usec); /* SUSv2 */
492 #ifndef HAVE_NANOSLEEP
493 #ifndef HAVE_STRUCT_TIMESPEC
495 # include <sys/types.h> /* need time_t */
502 static inline int nanosleep(const struct timespec *req, struct timespec *rem) { return usleep(req->tv_sec*1000000+req->tv_nsec/1000); }
505 #if defined(HAVE_SSLEEP) && !defined(HAVE_SLEEP)
506 #ifdef HAVE_WINBASE_H
510 /* TODO: what about SleepEx? */
511 static inline unsigned int sleep (unsigned int nb_sec) { Sleep(nb_sec*1000); return 0; }
514 #ifndef HAVE_GETTIMEOFDAY
515 #ifdef HAVE_SYS_TIME_H
516 #include <sys/time.h>
518 #ifndef HAVE_STRUCT_TIMEZONE
524 int gettimeofday(struct timeval *tv, struct timezone *tz);
527 #if !defined(HAVE_RANDOM) && defined(HAVE_RAND)
529 static inline long int random (void) { return rand(); }
532 #if !defined(HAVE_SRANDOM) && defined(HAVE_SRAND)
533 static inline void srandom (unsigned int seed) { srand(seed); }
537 typedef size_t ssize_t;
550 int rpl_mkstemp (char *templ);