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 @@ ...@@ -59,9 +59,6 @@
/* Define this if you have the type long long */ /* Define this if you have the type long long */
#undef HAVE_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 */ /* Define if your compiler supports function prototypes */
#undef HAVE_PROTOTYPES #undef HAVE_PROTOTYPES
......
...@@ -127,9 +127,6 @@ ...@@ -127,9 +127,6 @@
/* Define this if you have the type long long */ /* Define this if you have the type long long */
#undef HAVE_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 */ /* Define if your compiler supports function prototypes */
#undef HAVE_PROTOTYPES #undef HAVE_PROTOTYPES
...@@ -231,6 +228,11 @@ ...@@ -231,6 +228,11 @@
/* Defined when any dynamic module loading is enabled */ /* Defined when any dynamic module loading is enabled */
#undef HAVE_DYNAMIC_LOADING #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. */ /* The number of bytes in a char. */
#undef SIZEOF_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 ...@@ -342,14 +342,14 @@ else
fi fi
fi fi
# check for ANSI or K&R ("traditional") preprocessor dnl # check for ANSI or K&R ("traditional") preprocessor
AC_MSG_CHECKING(for C preprocessor type) dnl AC_MSG_CHECKING(for C preprocessor type)
AC_TRY_COMPILE([ dnl AC_TRY_COMPILE([
#define spam(name, doc) {#name, &name, #name "() -- " doc} dnl #define spam(name, doc) {#name, &name, #name "() -- " doc}
int foo; dnl int foo;
struct {char *name; int *addr; char *doc;} desc = spam(foo, "something"); dnl struct {char *name; int *addr; char *doc;} desc = spam(foo, "something");
], [;], cpp_type=ansi, AC_DEFINE(HAVE_OLD_CPP) cpp_type=traditional) dnl ], [;], cpp_type=ansi, AC_DEFINE(HAVE_OLD_CPP) cpp_type=traditional)
AC_MSG_RESULT($cpp_type) dnl AC_MSG_RESULT($cpp_type)
# checks for header files # checks for header files
AC_HEADER_STDC 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