cpython: 575efae8ec57 (original) (raw)

Mercurial > cpython

changeset 77869:575efae8ec57

- Issue #14324: use a linker test to check for profiling support [#14324]

doko@ubuntu.com
date Sat, 30 Jun 2012 16:52:05 +0200
parents af15910d2ffb
children d158b0a78390
files configure configure.ac
diffstat 2 files changed, 43 insertions(+), 44 deletions(-)[+] [-] configure 52 configure.ac 35

line wrap: on

line diff

--- a/configure +++ b/configure @@ -3211,7 +3211,7 @@ then linux*) MACHDEP="linux";; cygwin*) MACHDEP="cygwin";; darwin*) MACHDEP="darwin";;

-esac +if ac_fn_c_try_link "$LINENO"; then : + +else

--- a/configure.ac +++ b/configure.ac @@ -348,7 +348,7 @@ then linux*) MACHDEP="linux";; cygwin*) MACHDEP="cygwin";; darwin*) MACHDEP="darwin";;

-[ac_save_cc="$CC"

-esac

+if test "x$enable_profiling" = xyes; then