Bsoft  1.9
Bernard's software package
config.h
Go to the documentation of this file.
1 /* fftw/config.h. Generated by configure. */
2 /* -*- C -*- */
3 /*
4  * Copyright (c) 1997-1999, 2003 Massachusetts Institute of Technology
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  *
20  */
21 
22 /* fftw.h -- system-wide definitions */
23 /* $Id: config.h.in,v 1.30 2003/03/16 23:43:46 stevenj Exp $ */
24 
25 /* configuration options (guessed by configure) */
26 
27 /* Define to empty if the keyword does not work. */
28 /* #undef const */
29 
30 /* Define if you have the gettimeofday function. */
31 #define HAVE_GETTIMEOFDAY 1
32 
33 /* Define if you have the BSDgettimeofday function. */
34 /* #undef HAVE_BSDGETTIMEOFDAY */
35 
36 /* Define if you have the <sys/time.h> header file. */
37 #define HAVE_SYS_TIME_H 1
38 
39 /* Define if you have the <unistd.h> header file. */
40 #define HAVE_UNISTD_H 1
41 
42 /* Define if you have the <getopt.h> header file. */
43 /* #undef HAVE_GETOPT_H */
44 
45 /* Define if you have the <malloc.h> header file */
46 /* #undef HAVE_MALLOC_H */
47 
48 /* Define if you have gethrtime() a la Solaris 2 */
49 /* #undef HAVE_GETHRTIME */
50 /* #undef HAVE_HRTIME_T */
51 
52 /* Define to sizeof int and long long, if available: */
53 #define SIZEOF_INT 4
54 #define SIZEOF_LONG_LONG 8
55 
56 #if (SIZEOF_INT != 0) && (SIZEOF_LONG_LONG >= 2 * SIZEOF_INT)
57 # define LONGLONG_IS_TWOINTS
58 #endif
59 
60 /* Define to use "unsafe" modular multiply (can cause integer overflow
61  and errors for transforms of large prime sizes using Rader). */
62 /* #undef FFTW_ENABLE_UNSAFE_MULMOD */
63 
64 /* Define if you have getopt() */
65 #define HAVE_GETOPT 1
66 
67 /* Define if you have getopt_long() */
68 /* #undef HAVE_GETOPT_LONG */
69 
70 /* Define if you have isnan() */
71 #define HAVE_ISNAN 1
72 
73 /* Define for enabling the high resolution Pentium timer */
74 /* #undef FFTW_ENABLE_PENTIUM_TIMER */
75 
76 /*
77  * When using FFTW_ENABLE_PENTIUM_TIMER, set FFTW_CYCLES_PER_SEC
78  * to your real CPU clock speed!
79  */
80 /* This is for 200 MHz */
81 /* #define FFTW_CYCLES_PER_SEC 200000000L */
82 
83 /*
84  * Define to enable a gcc/x86 specific hack that aligns
85  * the stack to an 8-byte boundary
86  */
87 /* #undef FFTW_ENABLE_I386_HACKS */
88 
89 /* Define when using a version of gcc that aligns the stack properly */
90 /* #undef FFTW_GCC_ALIGNS_STACK */
91 
92 /* Define to enable extra runtime checks for debugging. */
93 /* #undef FFTW_DEBUG */
94 
95 /* Define to enable vector-recurse feature. */
96 /* #undef FFTW_ENABLE_VECTOR_RECURSE */
97 
98 /*
99  * Define to enable extra runtime checks for the alignment of variables
100  * in the codelets (causes coredump for misaligned double on x86).
101  */
102 /* #undef FFTW_DEBUG_ALIGNMENT */
103 
104 #define FFTW_VERSION "2.1.5"
105 
106 /* Use Win32 high-resolution timer */
107 #if defined(__WIN32__) || defined(WIN32) || defined(_WINDOWS)
108 # define HAVE_WIN32_TIMER
109 # define HAVE_WIN32
110 #endif
111 
112 /* Use MacOS Time Manager timer */
113 #if defined(MAC) || defined(macintosh)
114 # define HAVE_MAC_TIMER
115 # define HAVE_MACOS
116 
117 /* Define to use nanosecond timer on PCI PowerMacs: */
118 /* (WARNING: experimental, use at your own risk.) */
119 /* #undef HAVE_MAC_PCI_TIMER */
120 #endif
121 
122 /* define if you have alloca.h: */
123 /* #undef HAVE_ALLOCA_H */
124 
125 /* define if you have the alloca function: */
126 #define HAVE_ALLOCA 1
127 
128 /************************** threads configuration ************************/
129 
130 /* The following preprocessor symbols select which threads library
131  to use when compiling the FFTW threads parallel libraries: */
132 
133 /* #undef FFTW_USING_SOLARIS_THREADS */
134 /* #undef FFTW_USING_POSIX_THREADS */
135 /* #undef FFTW_USING_BEOS_THREADS */
136 /* #undef FFTW_USING_MACH_THREADS */
137 /* #undef FFTW_USING_OPENMP_THREADS */
138 /* #undef FFTW_USING_SGIMP_THREADS */
139 
140 /* on AIX, this gets defined to PTHREAD_CREATE_UNDETACHED, as that
141  system uses a non-standard name for this attribute (sigh). */
142 /* #undef PTHREAD_CREATE_JOINABLE */
143 
144 /* #undef HAVE_MACH_CTHREADS_H */
145 /* #undef HAVE_CTHREADS_H */
146 /* #undef HAVE_CTHREAD_H */
147 
148 #ifdef HAVE_WIN32
149 #define FFTW_USING_WIN32_THREADS
150 #endif
151 
152 #ifdef HAVE_MACOS
153 #define FFTW_USING_MACOS_THREADS
154 #endif
155 
156 /*********************** fortran wrapper configuration *********************/
157 
158 /* F77_FUNC_ is defined to a macro F77_FUNC_(name,NAME) by autoconf, that
159  takes an identifier name (lower case) and NAME (upper case) and returns
160  the appropriately mangled identifier for the Fortran linker. On
161  non-Unix systems you will have to define this manually. For example,
162  if your linker converts identifiers to lower-case followed by an
163  underscore, you would do: #define F77_FUNC_(name,NAME) name ## _
164 */
165 /* #undef F77_FUNC_ */
166 
167 /* The following symbols control how MPI_Comm data structures are
168  translated between Fortran and C for the fftw_mpi wrappers. See
169  the file mpi/fftw_f77_mpi.h for more information. */
170 /* #undef HAVE_MPI_COMM_F2C */
171 /* #undef FFTW_USE_F77_MPI_COMM */
172 /* #undef FFTW_USE_F77_MPI_COMM_P */