mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00: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
4 changed files with 451 additions and 455 deletions
|
|
@ -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 @@
|
||||||
/* 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 @@
|
||||||
/* 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
|
||||||
|
|
||||||
|
|
|
||||||
16
configure.in
16
configure.in
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue