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 your system has `cosf'. */
57 /* Define if you have the CreateFilemapping function(win32). */
58 #undef HAVE_CREATEFILEMAPPING
60 /* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
62 #undef HAVE_DECL_GETENV
64 /* Define to 1 if you have the <dev/ppbus/ppi.h> header file. */
65 #undef HAVE_DEV_PPBUS_PPI_H
67 /* Define to 1 if you have the <dlfcn.h> header file. */
70 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
73 /* Define to 1 if your system has 'exp10'. */
76 /* Define to 1 if you have the <fcntl.h> header file. */
79 /* Define to 1 if you have the `getopt' function. */
82 /* Define to 1 if you have the `getpagesize' function. */
83 #undef HAVE_GETPAGESIZE
85 /* Define to 1 if you have the `getrusage' function. */
88 /* Define to 1 if you have the `gettimeofday' function. */
89 #undef HAVE_GETTIMEOFDAY
91 /* Define to 1 if you have the <inttypes.h> header file. */
92 #undef HAVE_INTTYPES_H
94 /* Define to 1 if you have the <io.h> header file. */
97 /* Define to 1 if you have the `ossaudio' library (-lossaudio). */
98 #undef HAVE_LIBOSSAUDIO
100 /* Define to 1 if you have the `socket' library (-lsocket). */
101 #undef HAVE_LIBSOCKET
103 /* Define to 1 if you have the `winmm' library (-lwinmm). */
106 /* Define to 1 if you have the <limits.h> header file. */
109 /* Define to 1 if you have the <linux/compiler.h> header file. */
110 #undef HAVE_LINUX_COMPILER_H
112 /* Define to 1 if you have the <linux/if_packet.h> header file. */
113 #undef HAVE_LINUX_IF_PACKET_H
115 /* Define to 1 if you have the <linux/ppdev.h> header file. */
116 #undef HAVE_LINUX_PPDEV_H
118 /* Define to 1 if your system has 'log2'. */
121 /* Define to 1 if you have the `lstat' function. */
124 /* Define to 1 if you have the <malloc.h> header file. */
127 /* Define to 1 if you have the <memory.h> header file. */
130 /* Define to 1 if you have the `mkstemp' function. */
133 /* Define to 1 if you have the `mmap' function. */
136 /* Define to 1 if you have the `modf' function. */
139 /* Define to 1 if you have the `nanosleep' function. */
140 #undef HAVE_NANOSLEEP
142 /* Define to 1 if you have the <netdb.h> header file. */
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 a member of `struct cmsgcred'. */
248 #undef HAVE_STRUCT_CMSGCRED_CMCRED_UID
250 /* Define to 1 if `msg_accrights' is a member of `struct msghdr'. */
251 #undef HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS
253 /* Define to 1 if `msg_control' is a 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 a 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 `usleep' function. */
319 /* Define to 1 if you have the `valloc' function. */
322 /* Define to 1 if you have the <vec_types.h> header file. */
323 #undef HAVE_VEC_TYPES_H
325 /* Define to 1 if you have the `vprintf' function. */
328 /* Define to 1 if you have the <winbase.h> header file. */
329 #undef HAVE_WINBASE_H
331 /* Define to 1 if you have the <windows.h> header file. */
332 #undef HAVE_WINDOWS_H
334 /* Define to 1 if you have the <winioctl.h> header file. */
335 #undef HAVE_WINIOCTL_H
337 /* Define to 1 if you have the `__secure_getenv' function. */
338 #undef HAVE___SECURE_GETENV
340 /* Define to the sub-directory in which libtool stores uninstalled libraries.
344 /* Define if mkdir accepts only one arg */
345 #undef MKDIR_TAKES_ONE_ARG
347 /* Name of package */
350 /* Define to the address where bug reports for this package should be sent. */
351 #undef PACKAGE_BUGREPORT
353 /* Define to the full name of this package. */
356 /* Define to the full name and version of this package. */
357 #undef PACKAGE_STRING
359 /* Define to the one symbol short name of this package. */
360 #undef PACKAGE_TARNAME
362 /* Define to the home page for this package. */
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 /* The size of `void*', as computed by sizeof. */
375 /* If using the C implementation of alloca, define if you know the
376 direction of stack growth for your system; otherwise it will be
377 automatically deduced at runtime.
378 STACK_DIRECTION > 0 => grows toward higher addresses
379 STACK_DIRECTION < 0 => grows toward lower addresses
380 STACK_DIRECTION = 0 => direction of growth unknown */
381 #undef STACK_DIRECTION
383 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
384 #undef STAT_MACROS_BROKEN
386 /* Define to 1 if you have the ANSI C header files. */
389 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
390 #undef TIME_WITH_SYS_TIME
392 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
393 #undef TM_IN_SYS_TIME
395 /* Enable extensions on AIX 3, Interix. */
399 /* Enable GNU extensions on systems that have them. */
403 /* Enable threading extensions on Solaris. */
404 #ifndef _POSIX_PTHREAD_SEMANTICS
405 # undef _POSIX_PTHREAD_SEMANTICS
407 /* Enable extensions on HP NonStop. */
408 #ifndef _TANDEM_SOURCE
409 # undef _TANDEM_SOURCE
411 /* Enable general extensions on Solaris. */
412 #ifndef __EXTENSIONS__
413 # undef __EXTENSIONS__
417 /* Version number of package */
420 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
421 significant byte first (like Motorola and SPARC, unlike Intel). */
422 #if defined AC_APPLE_UNIVERSAL_BUILD
423 # if defined __BIG_ENDIAN__
424 # define WORDS_BIGENDIAN 1
427 # ifndef WORDS_BIGENDIAN
428 # undef WORDS_BIGENDIAN
432 /* Define to 1 if on MINIX. */
435 /* Define to 2 if the system does not provide POSIX.1 features except with
437 #undef _POSIX_1_SOURCE
439 /* Define to 1 if you need to in order for `stat' and other things to work. */
442 /* Define to empty if `const' does not conform to ANSI C. */
445 /* Define to `__inline__' or `__inline' if that's what the C compiler
446 calls it, or to nothing if 'inline' is not supported under any name. */
451 /* Define to rpl_mkstemp if the replacement function should be used. */
454 /* Define to `unsigned int' if <sys/types.h> does not define. */
460 inline static double trunc(double x)
462 return x >= 0 ? floor(x) : ceil(x);
468 inline static double exp10(double x)
474 #ifdef HAVE_WINDOWS_H
480 /* Define missing prototypes, implemented in replacement lib */
486 int getopt (int argc, char * const argv[], const char * optstring);
487 extern char * optarg;
488 extern int optind, opterr, optopt;
492 int usleep(unsigned long usec); /* SUSv2 */
495 #ifndef HAVE_NANOSLEEP
496 #ifndef HAVE_STRUCT_TIMESPEC
498 # include <sys/types.h> /* need time_t */
508 static inline int nanosleep(const struct timespec *req, struct timespec *rem) { return usleep(req->tv_sec*1000000+req->tv_nsec/1000); }
511 #if defined(HAVE_SSLEEP) && !defined(HAVE_SLEEP)
512 #ifdef HAVE_WINBASE_H
516 /* TODO: what about SleepEx? */
517 static inline unsigned int sleep (unsigned int nb_sec) { Sleep(nb_sec*1000); return 0; }
520 #ifndef HAVE_GETTIMEOFDAY
521 #ifdef HAVE_SYS_TIME_H
522 #include <sys/time.h>
524 #ifndef HAVE_STRUCT_TIMEZONE
530 int gettimeofday(struct timeval *tv, struct timezone *tz);
533 #if !defined(HAVE_RANDOM) && defined(HAVE_RAND)
535 static inline long int random (void) { return rand(); }
538 #if !defined(HAVE_SRANDOM) && defined(HAVE_SRAND)
539 static inline void srandom (unsigned int seed) { srand(seed); }
543 typedef size_t ssize_t;
556 int rpl_mkstemp (char *templ);