diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-03-26 12:55:37 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-03-26 12:55:37 (GMT) |
commit | b9be7bbe2e86f8ac5fd6a26b049d47d541d28f4e (patch) | |
tree | b716c98d4cef5bf41644a09a255fad1f83ef2595 | |
parent | da2c7ebd234fc904f6d6de2191eb5f72e8992c95 (diff) | |
download | cpython-b9be7bbe2e86f8ac5fd6a26b049d47d541d28f4e.zip cpython-b9be7bbe2e86f8ac5fd6a26b049d47d541d28f4e.tar.gz cpython-b9be7bbe2e86f8ac5fd6a26b049d47d541d28f4e.tar.bz2 |
fix variable reference to fix --enable-profiling (closes #17550)
-rw-r--r-- | Misc/NEWS | 5 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -6,6 +6,11 @@ What's New in Python 2.7.4? *Release date: XXXX-XX-XX* +Build +----- + +- Issue #17550: Fix the --enable-profiling configure switch. + Core and Builtins ----------------- @@ -5281,7 +5281,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 66c8a45..cb2a958 100644 --- a/configure.ac +++ b/configure.ac @@ -833,7 +833,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]) |