From 615ea1a98f07bc67c8a65ff82888298d3cce9153 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 26 Mar 2013 08:55:37 -0400 Subject: [PATCH 1/2] fix variable reference to fix --enable-profiling (closes #17550) --- Misc/NEWS | 5 +++++ configure | 2 +- configure.ac | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Misc/NEWS b/Misc/NEWS index 2c496dd22ed3..9ac4c9237d01 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -9,6 +9,11 @@ What's New in Python 3.3.1? .. *Release date: 2013-XX-XX* +Build +----- + +- Issue #17550: Fix the --enable-profiling configure switch. + Core and Builtins ----------------- diff --git a/configure b/configure index fa8d51878343..d3214abb8ca0 100755 --- a/configure +++ b/configure @@ -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; } diff --git a/configure.ac b/configure.ac index 8cf0e9251b70..6d54b162c900 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) From dbc5f8c39bdc2a6b16ef59125f9fa872e765b327 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 26 Mar 2013 08:57:42 -0400 Subject: [PATCH 2/2] move to correct section --- Misc/NEWS | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Misc/NEWS b/Misc/NEWS index 9ac4c9237d01..2cfabdf6d425 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -9,11 +9,6 @@ What's New in Python 3.3.1? .. *Release date: 2013-XX-XX* -Build ------ - -- Issue #17550: Fix the --enable-profiling configure switch. - Core and Builtins ----------------- @@ -816,6 +811,8 @@ Tests Build ----- +- Issue #17550: Fix the --enable-profiling configure switch. + - Issue #17425: Build with openssl 1.0.1d on Windows. - Issue #16754: Fix the incorrect shared library extension on linux. Introduce