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
b9be7bbe
Commit
b9be7bbe
authored
Mar 26, 2013
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix variable reference to fix --enable-profiling (closes #17550)
parent
da2c7ebd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
Misc/NEWS
Misc/NEWS
+5
-0
configure
configure
+1
-1
configure.ac
configure.ac
+1
-1
No files found.
Misc/NEWS
View file @
b9be7bbe
...
@@ -6,6 +6,11 @@ What's New in Python 2.7.4?
...
@@ -6,6 +6,11 @@ What's New in Python 2.7.4?
*Release date: XXXX-XX-XX*
*Release date: XXXX-XX-XX*
Build
-----
- Issue #17550: Fix the --enable-profiling configure switch.
Core and Builtins
Core and Builtins
-----------------
-----------------
...
...
configure
View file @
b9be7bbe
...
@@ -5281,7 +5281,7 @@ fi
...
@@ -5281,7 +5281,7 @@ fi
if
test
"x
$enable_profiling
"
=
xyes
;
then
if
test
"x
$enable_profiling
"
=
xyes
;
then
ac_save_cc
=
"
$CC
"
ac_save_cc
=
"
$CC
"
CC
=
"
$
(
CC
)
-pg"
CC
=
"
$
CC
-pg"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
/* end confdefs.h. */
int main() { return 0; }
int main() { return 0; }
...
...
configure.ac
View file @
b9be7bbe
...
@@ -833,7 +833,7 @@ AC_ARG_ENABLE(profiling,
...
@@ -833,7 +833,7 @@ AC_ARG_ENABLE(profiling,
AS_HELP_STRING([--enable-profiling], [enable C-level code profiling]))
AS_HELP_STRING([--enable-profiling], [enable C-level code profiling]))
if test "x$enable_profiling" = xyes; then
if test "x$enable_profiling" = xyes; then
ac_save_cc="$CC"
ac_save_cc="$CC"
CC="$
(CC)
-pg"
CC="$
CC
-pg"
AC_LINK_IFELSE([AC_LANG_SOURCE([[int main() { return 0; }]])],
AC_LINK_IFELSE([AC_LANG_SOURCE([[int main() { return 0; }]])],
[],
[],
[enable_profiling=no])
[enable_profiling=no])
...
...
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