mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
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.
This commit is contained in:
parent
3cd2ee4037
commit
ce81d59c0c
@ -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
|
||||
|
||||
|
16
configure.in
16
configure.in
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user