psss / rpms / python3

Forked from rpms/python3 5 years ago
Clone
7eb10c8
diff -up ./configure.autotool-intermediates ./configure
58f477b
--- ./configure.autotool-intermediates	2013-04-09 14:52:49.831773426 +0200
58f477b
+++ ./configure	2013-04-09 14:52:53.204765347 +0200
58f477b
@@ -802,6 +802,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
58f477b
@@ -1479,6 +1481,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
58f477b
@@ -6529,7 +6533,7 @@ then
b4d586e
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc supports ParseTuple __format__" >&5
b4d586e
 $as_echo_n "checking whether gcc supports ParseTuple __format__... " >&6; }
b4d586e
   save_CFLAGS=$CFLAGS
b4d586e
-  CFLAGS="$CFLAGS -Werror"
b4d586e
+  CFLAGS="$CFLAGS -Werror -Wformat"
b4d586e
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
b4d586e
 /* end confdefs.h.  */
7eb10c8
 
58f477b
@@ -10117,6 +10121,50 @@ $as_echo "#define WITH_TSC 1" >>confdefs
7eb10c8
 
b4d586e
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
b4d586e
 $as_echo "yes" >&6; }
b4d586e
+else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
b4d586e
+$as_echo "no" >&6; }
b4d586e
+fi
b4d586e
+else
b4d586e
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
b4d586e
+$as_echo "no" >&6; }
b4d586e
+fi
b4d586e
+
b4d586e
+
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; }
b4d586e
 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
b4d586e
 $as_echo "no" >&6; }
b4d586e
 fi
1c94c1a
diff -up ./pyconfig.h.in.autotool-intermediates ./pyconfig.h.in
58f477b
--- ./pyconfig.h.in.autotool-intermediates	2013-04-09 14:52:49.829773431 +0200
58f477b
+++ ./pyconfig.h.in	2013-04-09 14:52:53.488764667 +0200
58f477b
@@ -1193,9 +1193,6 @@
58f477b
 /* Define if setpgrp() must be called as setpgrp(0, 0). */
58f477b
 #undef SETPGRP_HAVE_ARG
58f477b
 
58f477b
-/* Define this to be extension of shared libraries (including the dot!). */
58f477b
-#undef SHLIB_EXT
58f477b
-
58f477b
 /* Define if i>>j for signed int i does not extend the sign bit when i < 0 */
58f477b
 #undef SIGNED_RIGHT_SHIFT_ZERO_FILLS
58f477b