Kaydet (Commit) ce81d59c authored tarafından Fred Drake's avatar Fred Drake

Remove setup of HAVE_OLD_CPP; it is no longer used in the Python sources.

The actual test for it is only commented out in configure.in, so it can
be re-enabled if we ever run across the need for it again.
üst 3cd2ee40
......@@ -59,9 +59,6 @@
/* Define this if you have the type long long */
#undef HAVE_LONG_LONG
/* Define this if you have a K&R style C preprocessor */
#undef HAVE_OLD_CPP
/* Define if your compiler supports function prototypes */
#undef HAVE_PROTOTYPES
......
......@@ -127,9 +127,6 @@
/* Define this if you have the type long long */
#undef HAVE_LONG_LONG
/* Define this if you have a K&R style C preprocessor */
#undef HAVE_OLD_CPP
/* Define if your compiler supports function prototypes */
#undef HAVE_PROTOTYPES
......@@ -231,6 +228,11 @@
/* Defined when any dynamic module loading is enabled */
#undef HAVE_DYNAMIC_LOADING
/* Define if i>>j for signed int i does not extend the sign bit
when i < 0
*/
#undef SIGNED_RIGHT_SHIFT_ZERO_FILLS
/* The number of bytes in a char. */
#undef SIZEOF_CHAR
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -342,14 +342,14 @@ else
fi
fi
# check for ANSI or K&R ("traditional") preprocessor
AC_MSG_CHECKING(for C preprocessor type)
AC_TRY_COMPILE([
#define spam(name, doc) {#name, &name, #name "() -- " doc}
int foo;
struct {char *name; int *addr; char *doc;} desc = spam(foo, "something");
], [;], cpp_type=ansi, AC_DEFINE(HAVE_OLD_CPP) cpp_type=traditional)
AC_MSG_RESULT($cpp_type)
dnl # check for ANSI or K&R ("traditional") preprocessor
dnl AC_MSG_CHECKING(for C preprocessor type)
dnl AC_TRY_COMPILE([
dnl #define spam(name, doc) {#name, &name, #name "() -- " doc}
dnl int foo;
dnl struct {char *name; int *addr; char *doc;} desc = spam(foo, "something");
dnl ], [;], cpp_type=ansi, AC_DEFINE(HAVE_OLD_CPP) cpp_type=traditional)
dnl AC_MSG_RESULT($cpp_type)
# checks for header files
AC_HEADER_STDC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment