Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
147fbe5a
Commit
147fbe5a
authored
Aug 07, 2005
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #1239112: Correct LINKCC C++ test. Fixes #1189330.
Backported to 2.4.
parent
b813c53c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
Misc/NEWS
Misc/NEWS
+3
-0
configure
configure
+6
-4
configure.in
configure.in
+5
-3
No files found.
Misc/NEWS
View file @
147fbe5a
...
...
@@ -391,6 +391,9 @@ Library
Build
-----
- Bug #1189330: configure did not correctly determine the necessary
value of LINKCC if python was built with GCC 4.0.
- Upgrade Windows build to zlib 1.2.3 which eliminates a potential security
vulnerability in zlib 1.2.1 and 1.2.2.
...
...
configure
View file @
147fbe5a
#! /bin/sh
# From configure.in Revision: 1.48
4
.
# From configure.in Revision: 1.48
5
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.5.
#
...
...
@@ -3265,9 +3265,11 @@ then
if
test
-z
"
$CXX
"
;
then
LINKCC
=
"
\$
(PURIFY)
\$
(CC)"
else
echo
'void foo();int main(){foo();}void foo(){}'
>
conftest.
$ac_ext
$CXX
-c
conftest.
$ac_ext
2>&5
if
$CC
-o
conftest
$ac_exeext
conftest.
$ac_objext
2>&5
\
echo
'extern "C" void foo();int main(){foo();}'
>
conftest_a.cc
$CXX
-c
conftest_a.cc
# 2>&5
echo
'void foo(){}'
>
conftest_b.
$ac_ext
$CC
-c
conftest_b.
$ac_ext
# 2>&5
if
$CC
-o
conftest
$ac_exeext
conftest_a.
$ac_objext
conftest_b.
$ac_objext
2>&5
\
&&
test
-s
conftest
$ac_exeext
&&
./conftest
$ac_exeext
then
LINKCC
=
"
\$
(PURIFY)
\$
(CC)"
...
...
configure.in
View file @
147fbe5a
...
...
@@ -471,9 +471,11 @@ then
if test -z "$CXX"; then
LINKCC="\$(PURIFY) \$(CC)"
else
echo 'void foo();int main(){foo();}void foo(){}' > conftest.$ac_ext
$CXX -c conftest.$ac_ext 2>&5
if $CC -o conftest$ac_exeext conftest.$ac_objext 2>&5 \
echo 'extern "C" void foo();int main(){foo();}' > conftest_a.cc
$CXX -c conftest_a.cc # 2>&5
echo 'void foo(){}' > conftest_b.$ac_ext
$CC -c conftest_b.$ac_ext # 2>&5
if $CC -o conftest$ac_exeext conftest_a.$ac_objext conftest_b.$ac_objext 2>&5 \
&& test -s conftest$ac_exeext && ./conftest$ac_exeext
then
LINKCC="\$(PURIFY) \$(CC)"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment