summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-01-04 13:57:26 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-01-04 13:57:26 (GMT)
commitd181e3a246b52284e3aeb412ef9678dc444eb82a (patch)
tree18b68f9c0180603629605f62153b61c2fffab0a3 /pyconfig.h.in
parent04b272336d8f4842d752449427ebef608dfcaca3 (diff)
downloadcpython-d181e3a246b52284e3aeb412ef9678dc444eb82a.zip
cpython-d181e3a246b52284e3aeb412ef9678dc444eb82a.tar.gz
cpython-d181e3a246b52284e3aeb412ef9678dc444eb82a.tar.bz2
isinf and isnan are macros, not functions; fix configure script
to use AC_CHECK_DECLS instead of AC_CHECK_FUNCS for these. (See discussion in issue #4506)
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in18
1 files changed, 12 insertions, 6 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index e3fb0a5..82285bd 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -115,6 +115,18 @@
/* Define if you have the 'resize_term' function. */
#undef HAVE_CURSES_RESIZE_TERM
+/* Define to 1 if you have the declaration of `isfinite', and to 0 if you
+ don't. */
+#undef HAVE_DECL_ISFINITE
+
+/* Define to 1 if you have the declaration of `isinf', and to 0 if you don't.
+ */
+#undef HAVE_DECL_ISINF
+
+/* Define to 1 if you have the declaration of `isnan', and to 0 if you don't.
+ */
+#undef HAVE_DECL_ISNAN
+
/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
*/
#undef HAVE_DECL_TZNAME
@@ -315,12 +327,6 @@
/* Define to 1 if you have the <io.h> header file. */
#undef HAVE_IO_H
-/* Define to 1 if you have the `isinf' function. */
-#undef HAVE_ISINF
-
-/* Define to 1 if you have the `isnan' function. */
-#undef HAVE_ISNAN
-
/* Define to 1 if you have the `kill' function. */
#undef HAVE_KILL