churchyard / rpms / python3

Forked from rpms/python3 3 years ago
Clone

Blame 05000-autotool-intermediates.patch

7eb10c8
diff -up ./configure.autotool-intermediates ./configure
62d7207
--- ./configure.autotool-intermediates	2012-08-07 17:21:25.249311751 -0400
62d7207
+++ ./configure	2012-08-07 17:21:35.503311049 -0400
62d7207
@@ -779,6 +779,8 @@ with_thread
7eb10c8
 enable_ipv6
7eb10c8
 with_doc_strings
7eb10c8
 with_tsc
7eb10c8
+with_count_allocs
7eb10c8
+with_call_profile
7eb10c8
 with_pymalloc
7eb10c8
 with_valgrind
1c94c1a
 with_systemtap
62d7207
@@ -1457,6 +1459,8 @@ Optional Packages:
7eb10c8
                           deprecated; use --with(out)-threads
7eb10c8
   --with(out)-doc-strings disable/enable documentation strings
7eb10c8
   --with(out)-tsc         enable/disable timestamp counter profile
7eb10c8
+  --with(out)count-allocs  enable/disable per-type instance accounting
7eb10c8
+  --with(out)-call-profile  enable/disable statistics on function call invocation
7eb10c8
   --with(out)-pymalloc    disable/enable specialized mallocs
7eb10c8
   --with-valgrind         Enable Valgrind support
1c94c1a
   --with(out)-systemtap   disable/enable SystemTap support
62d7207
@@ -10017,6 +10021,50 @@ $as_echo "no" >&6; }
7eb10c8
 fi
7eb10c8
 
7eb10c8
 
7eb10c8
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-count-allocs" >&5
7eb10c8
+$as_echo_n "checking for --with-count-allocs... " >&6; }
7eb10c8
+
7eb10c8
+# Check whether --with-count-allocs was given.
7eb10c8
+if test "${with_count_allocs+set}" = set; then :
7eb10c8
+  withval=$with_count_allocs;
7eb10c8
+if test "$withval" != no
7eb10c8
+then
7eb10c8
+
7eb10c8
+$as_echo "#define COUNT_ALLOCS 1" >>confdefs.h
7eb10c8
+
7eb10c8
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7eb10c8
+$as_echo "yes" >&6; }
7eb10c8
+else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7eb10c8
+$as_echo "no" >&6; }
7eb10c8
+fi
7eb10c8
+else
7eb10c8
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7eb10c8
+$as_echo "no" >&6; }
7eb10c8
+fi
7eb10c8
+
7eb10c8
+
7eb10c8
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-call-profile" >&5
7eb10c8
+$as_echo_n "checking for --with-call-profile... " >&6; }
7eb10c8
+
7eb10c8
+# Check whether --with-call-profile was given.
7eb10c8
+if test "${with_call_profile+set}" = set; then :
7eb10c8
+  withval=$with_call_profile;
7eb10c8
+if test "$withval" != no
7eb10c8
+then
7eb10c8
+
7eb10c8
+$as_echo "#define CALL_PROFILE 1" >>confdefs.h
7eb10c8
+
7eb10c8
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7eb10c8
+$as_echo "yes" >&6; }
7eb10c8
+else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7eb10c8
+$as_echo "no" >&6; }
7eb10c8
+fi
7eb10c8
+else
7eb10c8
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7eb10c8
+$as_echo "no" >&6; }
7eb10c8
+fi
7eb10c8
+
7eb10c8
+
7eb10c8
 # Check for Python-specific malloc support
7eb10c8
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pymalloc" >&5
7eb10c8
 $as_echo_n "checking for --with-pymalloc... " >&6; }
1c94c1a
diff -up ./pyconfig.h.in.autotool-intermediates ./pyconfig.h.in