]> granicus.if.org Git - python/commitdiff
fix variable reference to fix --enable-profiling (closes #17550)
authorGeorg Brandl <georg@python.org>
Tue, 26 Mar 2013 13:04:40 +0000 (14:04 +0100)
committerGeorg Brandl <georg@python.org>
Tue, 26 Mar 2013 13:04:40 +0000 (14:04 +0100)
Misc/NEWS
configure
configure.ac

index 5b1e921dc5284ab8c1b9bf249b92e1e1d9f1fd52..b0ea32dcab9273c687356ad5cedb1be675543a5b 100644 (file)
--- 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?
 ===============================================
 
index fa8d518783438ec30cd4c1a5e61c6b2edf4ece30..d3214abb8ca0265bd1a464096cba2b18b28ff181 100755 (executable)
--- 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; }
index 8cf0e9251b70d1f5a2c4377c38221306c2867cca..6d54b162c9003eedfc77dc8760672f38dc30a8f0 100644 (file)
@@ -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])