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:
Fred Drake 2000-07-09 14:39:29 +00:00
parent 3cd2ee4037
commit ce81d59c0c
4 changed files with 451 additions and 455 deletions

View file

@ -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