churchyard / rpms / python3

Forked from rpms/python3 3 years ago
Clone

Blame 05000-autotool-intermediates.patch

7eb10c
diff -up ./configure.autotool-intermediates ./configure
58f477
--- ./configure.autotool-intermediates	2013-04-09 14:52:49.831773426 +0200
58f477
+++ ./configure	2013-04-09 14:52:53.204765347 +0200
58f477
@@ -802,6 +802,8 @@ with_thread
7eb10c
 enable_ipv6
7eb10c
 with_doc_strings
7eb10c
 with_tsc
7eb10c
+with_count_allocs
7eb10c
+with_call_profile
7eb10c
 with_pymalloc
7eb10c
 with_valgrind
1c94c1
 with_systemtap
58f477
@@ -1479,6 +1481,8 @@ Optional Packages:
7eb10c
                           deprecated; use --with(out)-threads
7eb10c
   --with(out)-doc-strings disable/enable documentation strings
7eb10c
   --with(out)-tsc         enable/disable timestamp counter profile
7eb10c
+  --with(out)count-allocs  enable/disable per-type instance accounting
7eb10c
+  --with(out)-call-profile  enable/disable statistics on function call invocation
7eb10c
   --with(out)-pymalloc    disable/enable specialized mallocs
7eb10c
   --with-valgrind         Enable Valgrind support
1c94c1
   --with(out)-systemtap   disable/enable SystemTap support
58f477
@@ -10117,6 +10121,50 @@ $as_echo "#define WITH_TSC 1" >>confdefs
7eb10c
 
b4d586
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
b4d586
 $as_echo "yes" >&6; }
b4d586
+else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
b4d586
+$as_echo "no" >&6; }
b4d586
+fi
b4d586
+else
b4d586
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
b4d586
+$as_echo "no" >&6; }
b4d586
+fi
b4d586
+
b4d586
+
7eb10c
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-count-allocs" >&5
7eb10c
+$as_echo_n "checking for --with-count-allocs... " >&6; }
7eb10c
+
7eb10c
+# Check whether --with-count-allocs was given.
7eb10c
+if test "${with_count_allocs+set}" = set; then :
7eb10c
+  withval=$with_count_allocs;
7eb10c
+if test "$withval" != no
7eb10c
+then
7eb10c
+
7eb10c
+$as_echo "#define COUNT_ALLOCS 1" >>confdefs.h
7eb10c
+
7eb10c
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7eb10c
+$as_echo "yes" >&6; }
7eb10c
+else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7eb10c
+$as_echo "no" >&6; }
7eb10c
+fi
7eb10c
+else
7eb10c
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7eb10c
+$as_echo "no" >&6; }
7eb10c
+fi
7eb10c
+
7eb10c
+
7eb10c
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-call-profile" >&5
7eb10c
+$as_echo_n "checking for --with-call-profile... " >&6; }
7eb10c
+
7eb10c
+# Check whether --with-call-profile was given.
7eb10c
+if test "${with_call_profile+set}" = set; then :
7eb10c
+  withval=$with_call_profile;
7eb10c
+if test "$withval" != no
7eb10c
+then
7eb10c
+
7eb10c
+$as_echo "#define CALL_PROFILE 1" >>confdefs.h
7eb10c
+
7eb10c
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7eb10c
+$as_echo "yes" >&6; }
b4d586
 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
b4d586
 $as_echo "no" >&6; }
b4d586
 fi