]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - python3/patches/05000-autotool-intermediates.patch
bd9aeca58ef588e880847850b976fe211443f289
[people/amarx/ipfire-3.x.git] / python3 / patches / 05000-autotool-intermediates.patch
1 diff -up ./configure.autotool-intermediates ./configure
2 --- ./configure.autotool-intermediates 2012-08-07 17:21:25.249311751 -0400
3 +++ ./configure 2012-08-07 17:21:35.503311049 -0400
4 @@ -779,6 +779,8 @@ with_thread
5 enable_ipv6
6 with_doc_strings
7 with_tsc
8 +with_count_allocs
9 +with_call_profile
10 with_pymalloc
11 with_valgrind
12 with_systemtap
13 @@ -1457,6 +1459,8 @@ Optional Packages:
14 deprecated; use --with(out)-threads
15 --with(out)-doc-strings disable/enable documentation strings
16 --with(out)-tsc enable/disable timestamp counter profile
17 + --with(out)count-allocs enable/disable per-type instance accounting
18 + --with(out)-call-profile enable/disable statistics on function call invocation
19 --with(out)-pymalloc disable/enable specialized mallocs
20 --with-valgrind Enable Valgrind support
21 --with(out)-systemtap disable/enable SystemTap support
22 @@ -10017,6 +10021,50 @@ $as_echo "no" >&6; }
23 fi
24
25
26 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-count-allocs" >&5
27 +$as_echo_n "checking for --with-count-allocs... " >&6; }
28 +
29 +# Check whether --with-count-allocs was given.
30 +if test "${with_count_allocs+set}" = set; then :
31 + withval=$with_count_allocs;
32 +if test "$withval" != no
33 +then
34 +
35 +$as_echo "#define COUNT_ALLOCS 1" >>confdefs.h
36 +
37 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38 +$as_echo "yes" >&6; }
39 +else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40 +$as_echo "no" >&6; }
41 +fi
42 +else
43 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44 +$as_echo "no" >&6; }
45 +fi
46 +
47 +
48 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-call-profile" >&5
49 +$as_echo_n "checking for --with-call-profile... " >&6; }
50 +
51 +# Check whether --with-call-profile was given.
52 +if test "${with_call_profile+set}" = set; then :
53 + withval=$with_call_profile;
54 +if test "$withval" != no
55 +then
56 +
57 +$as_echo "#define CALL_PROFILE 1" >>confdefs.h
58 +
59 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
60 +$as_echo "yes" >&6; }
61 +else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
62 +$as_echo "no" >&6; }
63 +fi
64 +else
65 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66 +$as_echo "no" >&6; }
67 +fi
68 +
69 +
70 # Check for Python-specific malloc support
71 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pymalloc" >&5
72 $as_echo_n "checking for --with-pymalloc... " >&6; }
73 diff -up ./pyconfig.h.in.autotool-intermediates ./pyconfig.h.in