mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
merge 2.7.4 release branch (#17550)
This commit is contained in:
commit
4b394db41f
3 changed files with 7 additions and 2 deletions
|
@ -18,6 +18,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
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
|
2
configure
vendored
2
configure
vendored
|
@ -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; }
|
||||||
|
|
|
@ -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])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue