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
1931ca72
Commit
1931ca72
authored
Jun 01, 2002
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use somewhat longer C++ program to detect whether linking requires the C++
compiler. Fixes #559429. 2.2 bugfix candidate.
parent
32200aea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
configure
configure
+2
-2
configure.in
configure.in
+1
-1
No files found.
configure
View file @
1931ca72
#! /bin/sh
# From configure.in Revision: 1.31
7
.
# From configure.in Revision: 1.31
8
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53.
#
...
...
@@ -3037,7 +3037,7 @@ then
if
test
-z
"
$CXX
"
;
then
LINKCC
=
"
\$
(PURIFY)
\$
(CC)"
else
echo
'
int main(){return 0;
}'
>
conftest.
$ac_ext
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
\
&&
test
-s
conftest
$ac_exeext
&&
./conftest
$ac_exeext
...
...
configure.in
View file @
1931ca72
...
...
@@ -309,7 +309,7 @@ then
if test -z "$CXX"; then
LINKCC="\$(PURIFY) \$(CC)"
else
echo '
int main(){return 0;
}' > conftest.$ac_ext
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 \
&& test -s conftest$ac_exeext && ./conftest$ac_exeext
...
...
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