Fix SF bug #691793, Python 2.3a2 build fails on Tru64

Need to make sure that preprocessor directives start in first column.
This means we can't indent code which has preprocessor directives,
nor have a space between [ #include for example.
This commit is contained in:
Neal Norwitz 2003-02-23 23:28:15 +00:00
parent 8cd9a4fded
commit 6eb37f0eea
2 changed files with 32 additions and 30 deletions

3
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Revision: 1.389 .
# From configure.in Revision: 1.390 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
#
@ -10128,6 +10128,7 @@ echo $ECHO_N "checking for _POSIX_THREADS in unistd.h... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
#include <unistd.h>
#ifdef _POSIX_THREADS
yes

View File

@ -1357,7 +1357,8 @@ else
# define _POSIX_THREADS in unistd.h. Some apparently don't (which ones?)
AC_MSG_CHECKING(for _POSIX_THREADS in unistd.h)
AC_EGREP_CPP(yes,
[#include <unistd.h>
[
#include <unistd.h>
#ifdef _POSIX_THREADS
yes
#endif