From: Georg Brandl Date: Tue, 26 Mar 2013 13:04:40 +0000 (+0100) Subject: fix variable reference to fix --enable-profiling (closes #17550) X-Git-Tag: v3.3.1~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f4e68b1816cc1961398647732c880ef8736a9938;p=thirdparty%2FPython%2Fcpython.git fix variable reference to fix --enable-profiling (closes #17550) --- diff --git a/Misc/NEWS b/Misc/NEWS index 5b1e921dc528..b0ea32dcab92 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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? =============================================== 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])