1 /* config.h.in. Generated from configure.ac by autoheader. */
3 /* Disable deprecated functions and enums while building */
4 #define GSL_DISABLE_DEPRECATED 1
6 /* Define to 1 if you have the declaration of `acosh', and to 0 if you don't.
10 /* Define to 1 if you have the declaration of `asinh', and to 0 if you don't.
12 #undef HAVE_DECL_ASINH
14 /* Define to 1 if you have the declaration of `atanh', and to 0 if you don't.
16 #undef HAVE_DECL_ATANH
18 /* Define to 1 if you have the declaration of `expm1', and to 0 if you don't.
20 #undef HAVE_DECL_EXPM1
22 /* Define to 1 if you have the declaration of `feenableexcept', and to 0 if
24 #undef HAVE_DECL_FEENABLEEXCEPT
26 /* Define to 1 if you have the declaration of `fesettrapenable', and to 0 if
28 #undef HAVE_DECL_FESETTRAPENABLE
30 /* Define to 1 if you have the declaration of `finite', and to 0 if you don't.
32 #undef HAVE_DECL_FINITE
34 /* Define to 1 if you have the declaration of `frexp', and to 0 if you don't.
36 #undef HAVE_DECL_FREXP
38 /* Define to 1 if you have the declaration of `hypot', and to 0 if you don't.
40 #undef HAVE_DECL_HYPOT
42 /* Define to 1 if you have the declaration of `isfinite', and to 0 if you
44 #undef HAVE_DECL_ISFINITE
46 /* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
48 #undef HAVE_DECL_ISINF
50 /* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
52 #undef HAVE_DECL_ISNAN
54 /* Define to 1 if you have the declaration of `ldexp', and to 0 if you don't.
56 #undef HAVE_DECL_LDEXP
58 /* Define to 1 if you have the declaration of `log1p', and to 0 if you don't.
60 #undef HAVE_DECL_LOG1P
62 /* Define to 1 if you have the <dlfcn.h> header file. */
65 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
68 /* Defined if you have ansi EXIT_SUCCESS and EXIT_FAILURE in stdlib.h */
69 #undef HAVE_EXIT_SUCCESS_AND_FAILURE
71 /* Defined on architectures with excess floating-point precision */
72 #undef HAVE_EXTENDED_PRECISION_REGISTERS
74 /* Define if x86 processor has sse extensions. */
75 #undef HAVE_FPU_X86_SSE
77 /* Define to 1 if you have the <ieeefp.h> header file. */
80 /* Define this if IEEE comparisons work correctly (e.g. NaN != NaN) */
81 #undef HAVE_IEEE_COMPARISONS
83 /* Define this if IEEE denormalized numbers are available */
84 #undef HAVE_IEEE_DENORMALS
86 /* Define if you have inline */
89 /* Define to 1 if you have the <inttypes.h> header file. */
90 #undef HAVE_INTTYPES_H
92 /* Define to 1 if you have the `m' library (-lm). */
95 /* Define to 1 if you have the `memcpy' function. */
98 /* Define to 1 if you have the `memmove' function. */
101 /* Define to 1 if you have the <memory.h> header file. */
104 /* Define this if printf can handle %Lf for long double */
105 #undef HAVE_PRINTF_LONGDOUBLE
107 /* Define to 1 if you have the <stdint.h> header file. */
110 /* Define to 1 if you have the <stdlib.h> header file. */
113 /* Define to 1 if you have the `strdup' function. */
116 /* Define to 1 if you have the <strings.h> header file. */
117 #undef HAVE_STRINGS_H
119 /* Define to 1 if you have the <string.h> header file. */
122 /* Define to 1 if you have the `strtol' function. */
125 /* Define to 1 if you have the `strtoul' function. */
128 /* Define to 1 if you have the <sys/stat.h> header file. */
129 #undef HAVE_SYS_STAT_H
131 /* Define to 1 if you have the <sys/types.h> header file. */
132 #undef HAVE_SYS_TYPES_H
134 /* Define to 1 if you have the <unistd.h> header file. */
137 /* Define to 1 if you have the `vprintf' function. */
140 /* Define if you need to hide the static definitions of inline functions */
141 #undef HIDE_INLINE_STATIC
143 /* Define to the sub-directory in which libtool stores uninstalled libraries.
147 /* Name of package */
150 /* Define to the address where bug reports for this package should be sent. */
151 #undef PACKAGE_BUGREPORT
153 /* Define to the full name of this package. */
156 /* Define to the full name and version of this package. */
157 #undef PACKAGE_STRING
159 /* Define to the one symbol short name of this package. */
160 #undef PACKAGE_TARNAME
162 /* Define to the version of this package. */
163 #undef PACKAGE_VERSION
165 /* Defined if this is an official release */
168 /* Define to 1 if you have the ANSI C header files. */
171 /* Version number of package */
174 /* Define to 1 if type `char' is unsigned and you are not using gcc. */
175 #ifndef __CHAR_UNSIGNED__
176 # undef __CHAR_UNSIGNED__
179 /* Define to `__inline__' or `__inline' if that's what the C compiler
180 calls it, or to nothing if 'inline' is not supported under any name. */
185 /* Define to `unsigned int' if <sys/types.h> does not define. */
188 /* Define to empty if the keyword `volatile' does not work. Warning: valid
189 code using `volatile' can become incorrect without. Disable with care. */
192 /* Use 0 and 1 for EXIT_SUCCESS and EXIT_FAILURE if we don't have them */
193 #if !HAVE_EXIT_SUCCESS_AND_FAILURE
194 #define EXIT_SUCCESS 0
195 #define EXIT_FAILURE 1
198 /* Define one of these if you have a known IEEE arithmetic interface */
199 #undef HAVE_GNUSPARC_IEEE_INTERFACE
200 #undef HAVE_GNUM68K_IEEE_INTERFACE
201 #undef HAVE_GNUPPC_IEEE_INTERFACE
202 #undef HAVE_GNUX86_IEEE_INTERFACE
203 #undef HAVE_SUNOS4_IEEE_INTERFACE
204 #undef HAVE_SOLARIS_IEEE_INTERFACE
205 #undef HAVE_HPUX11_IEEE_INTERFACE
206 #undef HAVE_HPUX_IEEE_INTERFACE
207 #undef HAVE_TRU64_IEEE_INTERFACE
208 #undef HAVE_IRIX_IEEE_INTERFACE
209 #undef HAVE_AIX_IEEE_INTERFACE
210 #undef HAVE_FREEBSD_IEEE_INTERFACE
211 #undef HAVE_OS2EMX_IEEE_INTERFACE
212 #undef HAVE_NETBSD_IEEE_INTERFACE
213 #undef HAVE_OPENBSD_IEEE_INTERFACE
214 #undef HAVE_DARWIN_IEEE_INTERFACE
215 #undef HAVE_DARWIN86_IEEE_INTERFACE
217 /* Define a rounding function which moves extended precision values
218 out of registers and rounds them to double-precision. This should
219 be used *sparingly*, in places where it is necessary to keep
220 double-precision rounding for critical expressions while running in
221 extended precision. For example, the following code should ensure
222 exact equality, even when extended precision registers are in use,
224 double q = GSL_COERCE_DBL(3.0/7.0) ;
225 if (q == GSL_COERCE_DBL(3.0/7.0)) { ... } ;
227 It carries a penalty even when the program is running in double
228 precision mode unless you compile a separate version of the
229 library with HAVE_EXTENDED_PRECISION_REGISTERS turned off. */
231 #if HAVE_EXTENDED_PRECISION_REGISTERS
232 #define GSL_COERCE_DBL(x) (gsl_coerce_double(x))
234 #define GSL_COERCE_DBL(x) (x)
237 /* Substitute gsl functions for missing system functions */
240 #define hypot gsl_hypot
244 #define log1p gsl_log1p
248 #define expm1 gsl_expm1
252 #define acosh gsl_acosh
256 #define asinh gsl_asinh
260 #define atanh gsl_atanh
264 #define ldexp gsl_ldexp
268 #define frexp gsl_frexp
272 #define isinf gsl_isinf
275 #if !HAVE_DECL_FINITE
276 #define finite gsl_finite
280 #define isnan gsl_isnan
284 #define DISCARD_POINTER(p) do { ; } while(p ? 0 : 0);
286 #define DISCARD_POINTER(p) /* ignoring discarded pointer */
289 #if defined(GSL_RANGE_CHECK_OFF) || !defined(GSL_RANGE_CHECK)
290 #define GSL_RANGE_CHECK 0 /* turn off range checking by default internally */