summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-03-06 05:52:16 (GMT)
committerFred Drake <fdrake@acm.org>2001-03-06 05:52:16 (GMT)
commita1a84e7d4f7b493bb6fa5415ce55d3f722221470 (patch)
treecc41a82403ef79d97d108b1d750489a415604aa4 /configure
parentb25ec91a94e006dc7b4776e6b3b781b0dc818336 (diff)
downloadcpython-a1a84e7d4f7b493bb6fa5415ce55d3f722221470.zip
cpython-a1a84e7d4f7b493bb6fa5415ce55d3f722221470.tar.gz
cpython-a1a84e7d4f7b493bb6fa5415ce55d3f722221470.tar.bz2
Move all knowledge that $(MAINOBJ) is built in the Modules/ directory
into Makefile.pre.in; the configure script will only determine the basename of the file. This fixes installation of a Python built using C++, reported by Greg Wilson.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index b7ad64a..bab3fff 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
-# From configure.in Revision: 1.207
+# From configure.in Revision: 1.208
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
@@ -717,7 +717,7 @@ echo "$ac_t""$without_gcc" 1>&6
-MAINOBJ=Modules/python.o
+MAINOBJ=python.o
echo $ac_n "checking for --with-cxx=<compiler>""... $ac_c" 1>&6
echo "configure:723: checking for --with-cxx=<compiler>" >&5
# Check whether --with-cxx or --without-cxx was given.
@@ -729,7 +729,7 @@ if test "${with_cxx+set}" = set; then
no) CXX=
with_cxx=no;;
*) CXX=$withval
- MAINOBJ=Modules/ccpython.o
+ MAINOBJ=ccpython.o
with_cxx=$withval;;
esac
else
@@ -5041,7 +5041,7 @@ else
int main() {
/* Ultrix mips cc rejects this. */
-typedef int charset[2]; const charset x = {0,0};
+typedef int charset[2]; const charset x;
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;