Commit f4e68b18 authored by Georg Brandl's avatar Georg Brandl

fix variable reference to fix --enable-profiling (closes #17550)

parent 46a47169
......@@ -2,6 +2,17 @@
Python News
+++++++++++
What's New in Python 3.3.1?
===========================
*Release date: 07-Apr-2013*
Build
-----
- Issue #17550: Fix the --enable-profiling configure switch.
What's New in Python 3.3.1 release candidate 1?
===============================================
......
......@@ -5532,7 +5532,7 @@ fi
if test "x$enable_profiling" = xyes; then
ac_save_cc="$CC"
CC="$(CC) -pg"
CC="$CC -pg"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int main() { return 0; }
......
......@@ -883,7 +883,7 @@ AC_ARG_ENABLE(profiling,
AS_HELP_STRING([--enable-profiling], [enable C-level code profiling]))
if test "x$enable_profiling" = xyes; then
ac_save_cc="$CC"
CC="$(CC) -pg"
CC="$CC -pg"
AC_LINK_IFELSE([AC_LANG_SOURCE([[int main() { return 0; }]])],
[],
[enable_profiling=no])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment