Rev 107 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
107 | pj | 1 | /* -*- C -*- */ |
2 | /* |
||
3 | * Copyright (c) 1997-1999 Massachusetts Institute of Technology |
||
4 | * |
||
5 | * This program is free software; you can redistribute it and/or modify |
||
6 | * it under the terms of the GNU General Public License as published by |
||
7 | * the Free Software Foundation; either version 2 of the License, or |
||
8 | * (at your option) any later version. |
||
9 | * |
||
10 | * This program is distributed in the hope that it will be useful, |
||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
13 | * GNU General Public License for more details. |
||
14 | * |
||
15 | * You should have received a copy of the GNU General Public License |
||
16 | * along with this program; if not, write to the Free Software |
||
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
||
18 | * |
||
19 | */ |
||
20 | |||
21 | /* fftw.h -- system-wide definitions */ |
||
22 | /* $Id: conffftw.h,v 1.1 2003-03-24 11:14:54 pj Exp $ */ |
||
23 | |||
24 | /* configuration options (guessed by configure) */ |
||
25 | |||
26 | /* Define to empty if the keyword does not work. */ |
||
27 | /* #undef const */ |
||
28 | |||
29 | /* Define if you have the gettimeofday function. */ |
||
30 | #undef HAVE_GETTIMEOFDAY |
||
31 | |||
32 | /* Define if you have the BSDgettimeofday function. */ |
||
33 | #undef HAVE_BSDGETTIMEOFDAY |
||
34 | |||
35 | /* Define if you have the <sys/time.h> header file. */ |
||
36 | #undef HAVE_SYS_TIME_H |
||
37 | |||
38 | /* Define if you have the <unistd.h> header file. */ |
||
39 | #undef HAVE_UNISTD_H |
||
40 | |||
41 | /* Define if you have the <getopt.h> header file. */ |
||
42 | #undef HAVE_GETOPT_H |
||
43 | |||
44 | /* Define if you have the <malloc.h> header file */ |
||
45 | #undef HAVE_MALLOC_H |
||
46 | |||
47 | /* Define if you have gethrtime() a la Solaris 2 */ |
||
48 | #undef HAVE_GETHRTIME |
||
49 | |||
50 | /* Define if you have getopt() */ |
||
51 | #undef HAVE_GETOPT |
||
52 | |||
53 | /* Define if you have getopt_long() */ |
||
54 | #undef HAVE_GETOPT_LONG |
||
55 | |||
56 | /* Define if you have isnan() */ |
||
57 | #undef HAVE_ISNAN |
||
58 | |||
59 | /* Define for enabling the high resolution Pentium timer */ |
||
60 | #undef FFTW_ENABLE_PENTIUM_TIMER |
||
61 | #define _HARTIK |
||
62 | |||
63 | /* |
||
64 | * When using FFTW_ENABLE_PENTIUM_TIMER, set FFTW_CYCLES_PER_SEC |
||
65 | * to your real CPU clock speed! |
||
66 | */ |
||
67 | /* This is for 200 MHz */ |
||
68 | #define FFTW_CYCLES_PER_SEC 133000000L |
||
69 | |||
70 | /* |
||
71 | * Define to enable a gcc/x86 specific hack that aligns |
||
72 | * the stack to an 8-byte boundary |
||
73 | */ |
||
74 | /* #undef FFTW_ENABLE_I386_HACKS */ |
||
75 | |||
76 | /* Define to enable extra runtime checks for debugging. */ |
||
77 | /* #undef FFTW_DEBUG */ |
||
78 | |||
79 | /* |
||
80 | * Define to enable extra runtime checks for the alignment of variables |
||
81 | * in the codelets (causes coredump for misaligned double on x86). |
||
82 | */ |
||
83 | /* #undef FFTW_DEBUG_ALIGNMENT */ |
||
84 | |||
85 | #define FFTW_VERSION "2.1.2" |
||
86 | |||
87 | /* Use Win32 high-resolution timer */ |
||
88 | #if defined(__WIN32__) || defined(WIN32) || defined(_WINDOWS) |
||
89 | #define HAVE_WIN32_TIMER |
||
90 | #define HAVE_WIN32 |
||
91 | #endif |
||
92 | |||
93 | /* Use MacOS Time Manager timer */ |
||
94 | #if defined(MAC) || defined(macintosh) |
||
95 | #define HAVE_MAC_TIMER |
||
96 | #define HAVE_MACOS |
||
97 | |||
98 | /* Define to use nanosecond timer on PCI PowerMacs: */ |
||
99 | /* #undef HAVE_MAC_PCI_TIMER */ |
||
100 | #endif |
||
101 | |||
102 | /* define if you have alloca.h: */ |
||
103 | /* #undef HAVE_ALLOCA_H */ |
||
104 | |||
105 | /* define if you have the alloca function: */ |
||
106 | /* #undef HAVE_ALLOCA */ |
||
107 | |||
108 | /************************** threads configuration ************************/ |
||
109 | |||
110 | /* The following preprocessor symbols select which threads library |
||
111 | to use when compiling the FFTW threads parallel libraries: */ |
||
112 | |||
113 | /* #undef FFTW_USING_SOLARIS_THREADS */ |
||
114 | /* #undef FFTW_USING_POSIX_THREADS */ |
||
115 | /* #undef FFTW_USING_BEOS_THREADS */ |
||
116 | /* #undef FFTW_USING_MACH_THREADS */ |
||
117 | |||
118 | /* #undef HAVE_MACH_CTHREADS_H */ |
||
119 | /* #undef HAVE_CTHREADS_H */ |
||
120 | /* #undef HAVE_CTHREAD_H */ |
||
121 | |||
122 | #ifdef HAVE_WIN32 |
||
123 | #define FFTW_USING_WIN32_THREADS |
||
124 | #endif |
||
125 | |||
126 | #ifdef HAVE_MACOS |
||
127 | #define FFTW_USING_MACOS_THREADS |
||
128 | #endif |
||
129 | |||
130 | /*********************** fortran wrapper configuration *********************/ |
||
131 | |||
132 | /* These symbols select how to mangle function names so that they will |
||
133 | be recognized by the linker. If none of them are defined, then |
||
134 | Fortran wrappers will not be compiled. */ |
||
135 | |||
136 | /* #undef FFTW_FORTRANIZE_LOWERCASE */ |
||
137 | /* #undef FFTW_FORTRANIZE_LOWERCASE_UNDERSCORE */ |
||
138 | /* #undef FFTW_FORTRANIZE_UPPERCASE */ |
||
139 | /* #undef FFTW_FORTRANIZE_UPPERCASE_UNDERSCORE */ |
||
140 | |||
141 | /* define the following if names with an underscore get an extra one: */ |
||
142 | /* #undef FFTW_FORTRANIZE_EXTRA_UNDERSCORE */ |