1 /* config.h. Generated from config.h.in by configure. */
2 /* config.h.in. Generated from configure.ac by autoheader. */
4 /* Disable deprecated functions and enums while building */
5 #define GSL_DISABLE_DEPRECATED 1
7 /* Define to 1 if you have the declaration of `acosh', and to 0 if you don't.
9 #define HAVE_DECL_ACOSH 1
11 /* Define to 1 if you have the declaration of `asinh', and to 0 if you don't.
13 #define HAVE_DECL_ASINH 1
15 /* Define to 1 if you have the declaration of `atanh', and to 0 if you don't.
17 #define HAVE_DECL_ATANH 1
19 /* Define to 1 if you have the declaration of `expm1', and to 0 if you don't.
21 #define HAVE_DECL_EXPM1 1
23 /* Define to 1 if you have the declaration of `feenableexcept', and to 0 if
25 #define HAVE_DECL_FEENABLEEXCEPT 0
27 /* Define to 1 if you have the declaration of `fesettrapenable', and to 0 if
29 #define HAVE_DECL_FESETTRAPENABLE 0
31 /* Define to 1 if you have the declaration of `finite', and to 0 if you don't.
33 #define HAVE_DECL_FINITE 1
35 /* Define to 1 if you have the declaration of `frexp', and to 0 if you don't.
37 #define HAVE_DECL_FREXP 1
39 /* Define to 1 if you have the declaration of `hypot', and to 0 if you don't.
41 #define HAVE_DECL_HYPOT 1
43 /* Define to 1 if you have the declaration of `isfinite', and to 0 if you
45 #define HAVE_DECL_ISFINITE 1
47 /* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
49 #define HAVE_DECL_ISINF 1
51 /* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
53 #define HAVE_DECL_ISNAN 1
55 /* Define to 1 if you have the declaration of `ldexp', and to 0 if you don't.
57 #define HAVE_DECL_LDEXP 1
59 /* Define to 1 if you have the declaration of `log1p', and to 0 if you don't.
61 #define HAVE_DECL_LOG1P 1
63 /* Define to 1 if you have the <dlfcn.h> header file. */
64 #define HAVE_DLFCN_H 1
66 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
67 /* #undef HAVE_DOPRNT */
69 /* Defined if you have ansi EXIT_SUCCESS and EXIT_FAILURE in stdlib.h */
70 #define HAVE_EXIT_SUCCESS_AND_FAILURE 1
72 /* Defined on architectures with excess floating-point precision */
73 #define HAVE_EXTENDED_PRECISION_REGISTERS 1
75 /* Define if x86 processor has sse extensions. */
76 /* #undef HAVE_FPU_X86_SSE */
78 /* Define to 1 if you have the <ieeefp.h> header file. */
79 /* #undef HAVE_IEEEFP_H */
81 /* Define this if IEEE comparisons work correctly (e.g. NaN != NaN) */
82 #define HAVE_IEEE_COMPARISONS 1
84 /* Define this if IEEE denormalized numbers are available */
85 #define HAVE_IEEE_DENORMALS 1
87 /* Define if you have inline */
90 /* Define to 1 if you have the <inttypes.h> header file. */
91 #define HAVE_INTTYPES_H 1
93 /* Define to 1 if you have the `m' library (-lm). */
96 /* Define to 1 if you have the `memcpy' function. */
99 /* Define to 1 if you have the `memmove' function. */
100 #define HAVE_MEMMOVE 1
102 /* Define to 1 if you have the <memory.h> header file. */
103 #define HAVE_MEMORY_H 1
105 /* Define this if printf can handle %Lf for long double */
106 #define HAVE_PRINTF_LONGDOUBLE 1
108 /* Define to 1 if you have the <stdint.h> header file. */
109 #define HAVE_STDINT_H 1
111 /* Define to 1 if you have the <stdlib.h> header file. */
112 #define HAVE_STDLIB_H 1
114 /* Define to 1 if you have the `strdup' function. */
115 #define HAVE_STRDUP 1
117 /* Define to 1 if you have the <strings.h> header file. */
118 #define HAVE_STRINGS_H 1
120 /* Define to 1 if you have the <string.h> header file. */
121 #define HAVE_STRING_H 1
123 /* Define to 1 if you have the `strtol' function. */
124 #define HAVE_STRTOL 1
126 /* Define to 1 if you have the `strtoul' function. */
127 #define HAVE_STRTOUL 1
129 /* Define to 1 if you have the <sys/stat.h> header file. */
130 #define HAVE_SYS_STAT_H 1
132 /* Define to 1 if you have the <sys/types.h> header file. */
133 #define HAVE_SYS_TYPES_H 1
135 /* Define to 1 if you have the <unistd.h> header file. */
136 #define HAVE_UNISTD_H 1
138 /* Define to 1 if you have the `vprintf' function. */
139 #define HAVE_VPRINTF 1
141 /* Define if you need to hide the static definitions of inline functions */
142 /* #undef HIDE_INLINE_STATIC */
144 /* Define to the sub-directory in which libtool stores uninstalled libraries.
146 #define LT_OBJDIR ".libs/"
148 /* Name of package */
149 #define PACKAGE "gsl"
151 /* Define to the address where bug reports for this package should be sent. */
152 #define PACKAGE_BUGREPORT ""
154 /* Define to the full name of this package. */
155 #define PACKAGE_NAME "gsl"
157 /* Define to the full name and version of this package. */
158 #define PACKAGE_STRING "gsl 1.11"
160 /* Define to the one symbol short name of this package. */
161 #define PACKAGE_TARNAME "gsl"
163 /* Define to the version of this package. */
164 #define PACKAGE_VERSION "1.11"
166 /* Defined if this is an official release */
169 /* Define to 1 if you have the ANSI C header files. */
170 #define STDC_HEADERS 1
172 /* Version number of package */
173 #define VERSION "1.11"
175 /* Define to 1 if type `char' is unsigned and you are not using gcc. */
176 #ifndef __CHAR_UNSIGNED__
177 /* # undef __CHAR_UNSIGNED__ */
180 /* Define to `__inline__' or `__inline' if that's what the C compiler
181 calls it, or to nothing if 'inline' is not supported under any name. */
186 /* Define to `unsigned int' if <sys/types.h> does not define. */
189 /* Define to empty if the keyword `volatile' does not work. Warning: valid
190 code using `volatile' can become incorrect without. Disable with care. */
191 /* #undef volatile */
193 /* Use 0 and 1 for EXIT_SUCCESS and EXIT_FAILURE if we don't have them */
194 #if !HAVE_EXIT_SUCCESS_AND_FAILURE
195 #define EXIT_SUCCESS 0
196 #define EXIT_FAILURE 1
199 /* Define one of these if you have a known IEEE arithmetic interface */
200 /* #undef HAVE_GNUSPARC_IEEE_INTERFACE */
201 /* #undef HAVE_GNUM68K_IEEE_INTERFACE */
202 /* #undef HAVE_GNUPPC_IEEE_INTERFACE */
203 /* #undef HAVE_GNUX86_IEEE_INTERFACE */
204 /* #undef HAVE_SUNOS4_IEEE_INTERFACE */
205 /* #undef HAVE_SOLARIS_IEEE_INTERFACE */
206 /* #undef HAVE_HPUX11_IEEE_INTERFACE */
207 /* #undef HAVE_HPUX_IEEE_INTERFACE */
208 /* #undef HAVE_TRU64_IEEE_INTERFACE */
209 /* #undef HAVE_IRIX_IEEE_INTERFACE */
210 /* #undef HAVE_AIX_IEEE_INTERFACE */
211 /* #undef HAVE_FREEBSD_IEEE_INTERFACE */
212 /* #undef HAVE_OS2EMX_IEEE_INTERFACE */
213 /* #undef HAVE_NETBSD_IEEE_INTERFACE */
214 /* #undef HAVE_OPENBSD_IEEE_INTERFACE */
215 /* #undef HAVE_DARWIN_IEEE_INTERFACE */
216 #define HAVE_DARWIN86_IEEE_INTERFACE 1
218 /* Define a rounding function which moves extended precision values
219 out of registers and rounds them to double-precision. This should
220 be used *sparingly*, in places where it is necessary to keep
221 double-precision rounding for critical expressions while running in
222 extended precision. For example, the following code should ensure
223 exact equality, even when extended precision registers are in use,
225 double q = GSL_COERCE_DBL(3.0/7.0) ;
226 if (q == GSL_COERCE_DBL(3.0/7.0)) { ... } ;
228 It carries a penalty even when the program is running in double
229 precision mode unless you compile a separate version of the
230 library with HAVE_EXTENDED_PRECISION_REGISTERS turned off. */
232 #if HAVE_EXTENDED_PRECISION_REGISTERS
233 #define GSL_COERCE_DBL(x) (gsl_coerce_double(x))
235 #define GSL_COERCE_DBL(x) (x)
238 /* Substitute gsl functions for missing system functions */
241 #define hypot gsl_hypot
245 #define log1p gsl_log1p
249 #define expm1 gsl_expm1
253 #define acosh gsl_acosh
257 #define asinh gsl_asinh
261 #define atanh gsl_atanh
265 #define ldexp gsl_ldexp
269 #define frexp gsl_frexp
273 #define isinf gsl_isinf
276 #if !HAVE_DECL_FINITE
277 #define finite gsl_finite
281 #define isnan gsl_isnan
285 #define DISCARD_POINTER(p) do { ; } while(p ? 0 : 0);
287 #define DISCARD_POINTER(p) /* ignoring discarded pointer */
290 #if defined(GSL_RANGE_CHECK_OFF) || !defined(GSL_RANGE_CHECK)
291 #define GSL_RANGE_CHECK 0 /* turn off range checking by default internally */