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:
parent
8cd9a4fded
commit
6eb37f0eea
|
@ -1,5 +1,5 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# From configure.in Revision: 1.389 .
|
# From configure.in Revision: 1.390 .
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.53 for python 2.3.
|
# 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
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
#line $LINENO "configure"
|
#line $LINENO "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#ifdef _POSIX_THREADS
|
#ifdef _POSIX_THREADS
|
||||||
yes
|
yes
|
||||||
|
|
|
@ -1357,7 +1357,8 @@ else
|
||||||
# define _POSIX_THREADS in unistd.h. Some apparently don't (which ones?)
|
# define _POSIX_THREADS in unistd.h. Some apparently don't (which ones?)
|
||||||
AC_MSG_CHECKING(for _POSIX_THREADS in unistd.h)
|
AC_MSG_CHECKING(for _POSIX_THREADS in unistd.h)
|
||||||
AC_EGREP_CPP(yes,
|
AC_EGREP_CPP(yes,
|
||||||
[#include <unistd.h>
|
[
|
||||||
|
#include <unistd.h>
|
||||||
#ifdef _POSIX_THREADS
|
#ifdef _POSIX_THREADS
|
||||||
yes
|
yes
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue