summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-02-23 23:28:15 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-02-23 23:28:15 (GMT)
commit6eb37f0eea47842f776c144f70d3c0dfbc2dabfe (patch)
tree92378a07ff23e27553b5301b5f7a1f5d25a333ff /configure
parent8cd9a4fded8e6b7451e47c36585ef3d2a318dcc8 (diff)
downloadcpython-6eb37f0eea47842f776c144f70d3c0dfbc2dabfe.zip
cpython-6eb37f0eea47842f776c144f70d3c0dfbc2dabfe.tar.gz
cpython-6eb37f0eea47842f776c144f70d3c0dfbc2dabfe.tar.bz2
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure31
1 files changed, 16 insertions, 15 deletions
diff --git a/configure b/configure
index fd96ba8..efcada6 100755
--- a/configure
+++ b/configure
@@ -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.
#
@@ -4746,7 +4746,7 @@ echo $ECHO_N "checking for makedev... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
- #include <sys/types.h>
+#include <sys/types.h>
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
@@ -4786,8 +4786,8 @@ if test "$ac_cv_has_makedev" = "no"; then
#line $LINENO "configure"
#include "confdefs.h"
- #define _OSF_SOURCE 1
- #include <sys/types.h>
+#define _OSF_SOURCE 1
+#include <sys/types.h>
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
@@ -9159,7 +9159,7 @@ else
#line $LINENO "configure"
#include "confdefs.h"
#include <stdio.h>
- #include <pthread.h>
+#include <pthread.h>
main()
{
FILE *f=fopen("conftestval", "w");
@@ -10128,10 +10128,11 @@ 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
- #endif
+#ifdef _POSIX_THREADS
+yes
+#endif
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
@@ -13189,13 +13190,13 @@ cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
- #if defined(MAJOR_IN_MKDEV)
- #include <sys/mkdev.h>
- #elif defined(MAJOR_IN_SYSMACROS)
- #include <sys/sysmacros.h>
- #else
- #include <sys/types.h>
- #endif
+#if defined(MAJOR_IN_MKDEV)
+#include <sys/mkdev.h>
+#elif defined(MAJOR_IN_SYSMACROS)
+#include <sys/sysmacros.h>
+#else
+#include <sys/types.h>
+#endif
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus