3.2a1
* Sat Aug 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.0.a1
- 3.2a1; add alphatag
- rework %%files in the light of PEP 3147 (__pycache__)
- drop our configuration patch to Setup.dist (patch 0): setup.py should do a
better job of things, and the %%files explicitly lists our modules (r82746
appears to break the old way of doing things). This leads to various modules
changing from "foomodule.so" to "foo.so". It also leads to the optimized build
dropping the _sha1, _sha256 and _sha512 modules, but these are provided by
_hashlib; _weakref becomes a builtin module; xxsubtype goes away (it's only for
testing/devel purposes)
- fixup patches 3, 4, 6, 8, 102, 103, 105, 111 for the rebase
- remove upstream patches: 7 (system expat), 106, 107, 108 (audioop reformat
plus CVE-2010-1634 and CVE-2010-2089), 109 (CVE-2008-5983)
- add machinery for rebuilding "configure" and friends, using the correct
version of autoconf (patch 300)
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
- "modulator" was removed upstream
- drop "-b" from patch applications affecting .py files to avoid littering the
installation tree
2010-08-21 22:08:26 +00:00
|
|
|
diff -up ./configure.autotool-intermediates ./configure
|
2011-07-11 16:04:52 +00:00
|
|
|
--- ./configure.autotool-intermediates 2011-07-11 11:50:06.910425999 -0400
|
|
|
|
+++ ./configure 2011-07-11 11:50:13.492426001 -0400
|
|
|
|
@@ -619,6 +619,8 @@ TRUE
|
3.2a1
* Sat Aug 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.0.a1
- 3.2a1; add alphatag
- rework %%files in the light of PEP 3147 (__pycache__)
- drop our configuration patch to Setup.dist (patch 0): setup.py should do a
better job of things, and the %%files explicitly lists our modules (r82746
appears to break the old way of doing things). This leads to various modules
changing from "foomodule.so" to "foo.so". It also leads to the optimized build
dropping the _sha1, _sha256 and _sha512 modules, but these are provided by
_hashlib; _weakref becomes a builtin module; xxsubtype goes away (it's only for
testing/devel purposes)
- fixup patches 3, 4, 6, 8, 102, 103, 105, 111 for the rebase
- remove upstream patches: 7 (system expat), 106, 107, 108 (audioop reformat
plus CVE-2010-1634 and CVE-2010-2089), 109 (CVE-2008-5983)
- add machinery for rebuilding "configure" and friends, using the correct
version of autoconf (patch 300)
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
- "modulator" was removed upstream
- drop "-b" from patch applications affecting .py files to avoid littering the
installation tree
2010-08-21 22:08:26 +00:00
|
|
|
MACHDEP_OBJS
|
|
|
|
DYNLOADFILE
|
|
|
|
DLINCLDIR
|
|
|
|
+DTRACEHDRS
|
|
|
|
+DTRACEOBJS
|
|
|
|
THREADOBJ
|
|
|
|
LDLAST
|
|
|
|
USE_THREAD_MODULE
|
2011-07-11 16:04:52 +00:00
|
|
|
@@ -764,8 +766,11 @@ with_thread
|
3.2a1
* Sat Aug 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.0.a1
- 3.2a1; add alphatag
- rework %%files in the light of PEP 3147 (__pycache__)
- drop our configuration patch to Setup.dist (patch 0): setup.py should do a
better job of things, and the %%files explicitly lists our modules (r82746
appears to break the old way of doing things). This leads to various modules
changing from "foomodule.so" to "foo.so". It also leads to the optimized build
dropping the _sha1, _sha256 and _sha512 modules, but these are provided by
_hashlib; _weakref becomes a builtin module; xxsubtype goes away (it's only for
testing/devel purposes)
- fixup patches 3, 4, 6, 8, 102, 103, 105, 111 for the rebase
- remove upstream patches: 7 (system expat), 106, 107, 108 (audioop reformat
plus CVE-2010-1634 and CVE-2010-2089), 109 (CVE-2008-5983)
- add machinery for rebuilding "configure" and friends, using the correct
version of autoconf (patch 300)
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
- "modulator" was removed upstream
- drop "-b" from patch applications affecting .py files to avoid littering the
installation tree
2010-08-21 22:08:26 +00:00
|
|
|
enable_ipv6
|
|
|
|
with_doc_strings
|
|
|
|
with_tsc
|
|
|
|
+with_count_allocs
|
|
|
|
+with_call_profile
|
|
|
|
with_pymalloc
|
|
|
|
with_valgrind
|
|
|
|
+with_dtrace
|
|
|
|
with_fpectl
|
|
|
|
with_libm
|
* Tue Dec 28 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.5.b2
- 3.2b2
- rework patch 3 (removal of mimeaudio tests), patch 6 (no static libs),
patch 8 (systemtap), patch 102 (lib64)
- remove patch 4 (rendered redundant by upstream r85537), patch 103 (PEP 3149),
patch 110 (upstreamed expat fix), patch 111 (parallel build fix for grammar
fixed upstream)
- regenerate patch 300 (autotool intermediates)
- workaround COUNT_ALLOCS weakref issues in test suite (patch 126, patch 127,
patch 128)
- stop using runtest.sh in %%check (dropped by upstream), replacing with
regrtest; fixup list of failing tests
- introduce "pyshortver", "SOABI_optimized" and "SOABI_debug" macros
- rework manifests of shared libraries to use "SOABI_" macros, reflecting
PEP 3149
- drop itertools, operator and _collections modules from the manifests as py3k
commit r84058 moved these inside libpython; json/tests moved to test/json_tests
- move turtle code into the tkinter subpackage
2010-12-29 18:26:29 +00:00
|
|
|
with_libc
|
2011-07-11 16:04:52 +00:00
|
|
|
@@ -781,7 +786,8 @@ CFLAGS
|
|
|
|
LDFLAGS
|
|
|
|
LIBS
|
|
|
|
CPPFLAGS
|
|
|
|
-CPP'
|
|
|
|
+CPP
|
|
|
|
+CPPFLAGS'
|
2011-02-14 18:55:48 +00:00
|
|
|
|
|
|
|
|
2011-07-11 16:04:52 +00:00
|
|
|
# Initialize some variables set by options.
|
|
|
|
@@ -1437,8 +1443,11 @@ Optional Packages:
|
3.2a1
* Sat Aug 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.0.a1
- 3.2a1; add alphatag
- rework %%files in the light of PEP 3147 (__pycache__)
- drop our configuration patch to Setup.dist (patch 0): setup.py should do a
better job of things, and the %%files explicitly lists our modules (r82746
appears to break the old way of doing things). This leads to various modules
changing from "foomodule.so" to "foo.so". It also leads to the optimized build
dropping the _sha1, _sha256 and _sha512 modules, but these are provided by
_hashlib; _weakref becomes a builtin module; xxsubtype goes away (it's only for
testing/devel purposes)
- fixup patches 3, 4, 6, 8, 102, 103, 105, 111 for the rebase
- remove upstream patches: 7 (system expat), 106, 107, 108 (audioop reformat
plus CVE-2010-1634 and CVE-2010-2089), 109 (CVE-2008-5983)
- add machinery for rebuilding "configure" and friends, using the correct
version of autoconf (patch 300)
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
- "modulator" was removed upstream
- drop "-b" from patch applications affecting .py files to avoid littering the
installation tree
2010-08-21 22:08:26 +00:00
|
|
|
deprecated; use --with(out)-threads
|
|
|
|
--with(out)-doc-strings disable/enable documentation strings
|
|
|
|
--with(out)-tsc enable/disable timestamp counter profile
|
|
|
|
+ --with(out)count-allocs enable/disable per-type instance accounting
|
|
|
|
+ --with(out)-call-profile enable/disable statistics on function call invocation
|
|
|
|
--with(out)-pymalloc disable/enable specialized mallocs
|
|
|
|
--with-valgrind Enable Valgrind support
|
|
|
|
+ --with(out)-dtrace disable/enable dtrace support
|
|
|
|
--with-fpectl enable SIGFPE catching
|
|
|
|
--with-libm=STRING math library
|
* Tue Dec 28 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.5.b2
- 3.2b2
- rework patch 3 (removal of mimeaudio tests), patch 6 (no static libs),
patch 8 (systemtap), patch 102 (lib64)
- remove patch 4 (rendered redundant by upstream r85537), patch 103 (PEP 3149),
patch 110 (upstreamed expat fix), patch 111 (parallel build fix for grammar
fixed upstream)
- regenerate patch 300 (autotool intermediates)
- workaround COUNT_ALLOCS weakref issues in test suite (patch 126, patch 127,
patch 128)
- stop using runtest.sh in %%check (dropped by upstream), replacing with
regrtest; fixup list of failing tests
- introduce "pyshortver", "SOABI_optimized" and "SOABI_debug" macros
- rework manifests of shared libraries to use "SOABI_" macros, reflecting
PEP 3149
- drop itertools, operator and _collections modules from the manifests as py3k
commit r84058 moved these inside libpython; json/tests moved to test/json_tests
- move turtle code into the tkinter subpackage
2010-12-29 18:26:29 +00:00
|
|
|
--with-libc=STRING C library
|
2011-07-11 16:04:52 +00:00
|
|
|
@@ -9284,6 +9293,50 @@ $as_echo "no" >&6; }
|
3.2a1
* Sat Aug 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.0.a1
- 3.2a1; add alphatag
- rework %%files in the light of PEP 3147 (__pycache__)
- drop our configuration patch to Setup.dist (patch 0): setup.py should do a
better job of things, and the %%files explicitly lists our modules (r82746
appears to break the old way of doing things). This leads to various modules
changing from "foomodule.so" to "foo.so". It also leads to the optimized build
dropping the _sha1, _sha256 and _sha512 modules, but these are provided by
_hashlib; _weakref becomes a builtin module; xxsubtype goes away (it's only for
testing/devel purposes)
- fixup patches 3, 4, 6, 8, 102, 103, 105, 111 for the rebase
- remove upstream patches: 7 (system expat), 106, 107, 108 (audioop reformat
plus CVE-2010-1634 and CVE-2010-2089), 109 (CVE-2008-5983)
- add machinery for rebuilding "configure" and friends, using the correct
version of autoconf (patch 300)
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
- "modulator" was removed upstream
- drop "-b" from patch applications affecting .py files to avoid littering the
installation tree
2010-08-21 22:08:26 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-count-allocs" >&5
|
|
|
|
+$as_echo_n "checking for --with-count-allocs... " >&6; }
|
|
|
|
+
|
|
|
|
+# Check whether --with-count-allocs was given.
|
|
|
|
+if test "${with_count_allocs+set}" = set; then :
|
|
|
|
+ withval=$with_count_allocs;
|
|
|
|
+if test "$withval" != no
|
|
|
|
+then
|
|
|
|
+
|
|
|
|
+$as_echo "#define COUNT_ALLOCS 1" >>confdefs.h
|
|
|
|
+
|
|
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
|
+$as_echo "yes" >&6; }
|
|
|
|
+else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
|
+$as_echo "no" >&6; }
|
|
|
|
+fi
|
|
|
|
+else
|
|
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
|
+$as_echo "no" >&6; }
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-call-profile" >&5
|
|
|
|
+$as_echo_n "checking for --with-call-profile... " >&6; }
|
|
|
|
+
|
|
|
|
+# Check whether --with-call-profile was given.
|
|
|
|
+if test "${with_call_profile+set}" = set; then :
|
|
|
|
+ withval=$with_call_profile;
|
|
|
|
+if test "$withval" != no
|
|
|
|
+then
|
|
|
|
+
|
|
|
|
+$as_echo "#define CALL_PROFILE 1" >>confdefs.h
|
|
|
|
+
|
|
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
|
+$as_echo "yes" >&6; }
|
|
|
|
+else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
|
+$as_echo "no" >&6; }
|
|
|
|
+fi
|
|
|
|
+else
|
|
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
|
+$as_echo "no" >&6; }
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+
|
|
|
|
# Check for Python-specific malloc support
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pymalloc" >&5
|
|
|
|
$as_echo_n "checking for --with-pymalloc... " >&6; }
|
2011-07-11 16:04:52 +00:00
|
|
|
@@ -9336,6 +9389,46 @@ fi
|
3.2a1
* Sat Aug 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.0.a1
- 3.2a1; add alphatag
- rework %%files in the light of PEP 3147 (__pycache__)
- drop our configuration patch to Setup.dist (patch 0): setup.py should do a
better job of things, and the %%files explicitly lists our modules (r82746
appears to break the old way of doing things). This leads to various modules
changing from "foomodule.so" to "foo.so". It also leads to the optimized build
dropping the _sha1, _sha256 and _sha512 modules, but these are provided by
_hashlib; _weakref becomes a builtin module; xxsubtype goes away (it's only for
testing/devel purposes)
- fixup patches 3, 4, 6, 8, 102, 103, 105, 111 for the rebase
- remove upstream patches: 7 (system expat), 106, 107, 108 (audioop reformat
plus CVE-2010-1634 and CVE-2010-2089), 109 (CVE-2008-5983)
- add machinery for rebuilding "configure" and friends, using the correct
version of autoconf (patch 300)
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
- "modulator" was removed upstream
- drop "-b" from patch applications affecting .py files to avoid littering the
installation tree
2010-08-21 22:08:26 +00:00
|
|
|
OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 $OPT"
|
|
|
|
fi
|
|
|
|
|
|
|
|
+# Check for dtrace support
|
|
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-dtrace" >&5
|
|
|
|
+$as_echo_n "checking for --with-dtrace... " >&6; }
|
|
|
|
+
|
|
|
|
+# Check whether --with-dtrace was given.
|
|
|
|
+if test "${with_dtrace+set}" = set; then :
|
|
|
|
+ withval=$with_dtrace;
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+if test ! -z "$with_dtrace"
|
|
|
|
+then
|
|
|
|
+ if dtrace -G -o /dev/null -s $srcdir/Include/pydtrace.d 2>/dev/null
|
|
|
|
+ then
|
|
|
|
+
|
|
|
|
+$as_echo "#define WITH_DTRACE 1" >>confdefs.h
|
|
|
|
+
|
|
|
|
+ with_dtrace="Sun"
|
|
|
|
+ DTRACEOBJS="Python/dtrace.o"
|
|
|
|
+ DTRADEHDRS=""
|
|
|
|
+ elif dtrace -h -o /dev/null -s $srcdir/Include/pydtrace.d
|
|
|
|
+ then
|
|
|
|
+
|
|
|
|
+$as_echo "#define WITH_DTRACE 1" >>confdefs.h
|
|
|
|
+
|
|
|
|
+ with_dtrace="Apple"
|
|
|
|
+ DTRACEOBJS=""
|
|
|
|
+ DTRADEHDRS="pydtrace.h"
|
|
|
|
+ else
|
|
|
|
+ with_dtrace="no"
|
|
|
|
+ fi
|
|
|
|
+else
|
|
|
|
+ with_dtrace="no"
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dtrace" >&5
|
|
|
|
+$as_echo "$with_dtrace" >&6; }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
* Tue Dec 28 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.5.b2
- 3.2b2
- rework patch 3 (removal of mimeaudio tests), patch 6 (no static libs),
patch 8 (systemtap), patch 102 (lib64)
- remove patch 4 (rendered redundant by upstream r85537), patch 103 (PEP 3149),
patch 110 (upstreamed expat fix), patch 111 (parallel build fix for grammar
fixed upstream)
- regenerate patch 300 (autotool intermediates)
- workaround COUNT_ALLOCS weakref issues in test suite (patch 126, patch 127,
patch 128)
- stop using runtest.sh in %%check (dropped by upstream), replacing with
regrtest; fixup list of failing tests
- introduce "pyshortver", "SOABI_optimized" and "SOABI_debug" macros
- rework manifests of shared libraries to use "SOABI_" macros, reflecting
PEP 3149
- drop itertools, operator and _collections modules from the manifests as py3k
commit r84058 moved these inside libpython; json/tests moved to test/json_tests
- move turtle code into the tkinter subpackage
2010-12-29 18:26:29 +00:00
|
|
|
# -I${DLINCLDIR} is added to the compile rule for importdl.o
|
|
|
|
|
|
|
|
DLINCLDIR=.
|
3.2a1
* Sat Aug 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.0.a1
- 3.2a1; add alphatag
- rework %%files in the light of PEP 3147 (__pycache__)
- drop our configuration patch to Setup.dist (patch 0): setup.py should do a
better job of things, and the %%files explicitly lists our modules (r82746
appears to break the old way of doing things). This leads to various modules
changing from "foomodule.so" to "foo.so". It also leads to the optimized build
dropping the _sha1, _sha256 and _sha512 modules, but these are provided by
_hashlib; _weakref becomes a builtin module; xxsubtype goes away (it's only for
testing/devel purposes)
- fixup patches 3, 4, 6, 8, 102, 103, 105, 111 for the rebase
- remove upstream patches: 7 (system expat), 106, 107, 108 (audioop reformat
plus CVE-2010-1634 and CVE-2010-2089), 109 (CVE-2008-5983)
- add machinery for rebuilding "configure" and friends, using the correct
version of autoconf (patch 300)
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
- "modulator" was removed upstream
- drop "-b" from patch applications affecting .py files to avoid littering the
installation tree
2010-08-21 22:08:26 +00:00
|
|
|
diff -up ./pyconfig.h.in.autotool-intermediates ./pyconfig.h.in
|
2011-07-11 16:04:52 +00:00
|
|
|
--- ./pyconfig.h.in.autotool-intermediates 2011-07-11 11:50:06.896426002 -0400
|
|
|
|
+++ ./pyconfig.h.in 2011-07-11 11:50:13.965426001 -0400
|
3.2a1
* Sat Aug 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.0.a1
- 3.2a1; add alphatag
- rework %%files in the light of PEP 3147 (__pycache__)
- drop our configuration patch to Setup.dist (patch 0): setup.py should do a
better job of things, and the %%files explicitly lists our modules (r82746
appears to break the old way of doing things). This leads to various modules
changing from "foomodule.so" to "foo.so". It also leads to the optimized build
dropping the _sha1, _sha256 and _sha512 modules, but these are provided by
_hashlib; _weakref becomes a builtin module; xxsubtype goes away (it's only for
testing/devel purposes)
- fixup patches 3, 4, 6, 8, 102, 103, 105, 111 for the rebase
- remove upstream patches: 7 (system expat), 106, 107, 108 (audioop reformat
plus CVE-2010-1634 and CVE-2010-2089), 109 (CVE-2008-5983)
- add machinery for rebuilding "configure" and friends, using the correct
version of autoconf (patch 300)
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
- "modulator" was removed upstream
- drop "-b" from patch applications affecting .py files to avoid littering the
installation tree
2010-08-21 22:08:26 +00:00
|
|
|
@@ -12,15 +12,15 @@
|
|
|
|
support for AIX C++ shared extension modules. */
|
|
|
|
#undef AIX_GENUINE_CPLUSPLUS
|
|
|
|
|
|
|
|
-/* Define if you have the Mach cthreads package */
|
|
|
|
-#undef C_THREADS
|
|
|
|
-
|
|
|
|
/* Define to keep records on function call invocation */
|
|
|
|
#undef CALL_PROFILE
|
|
|
|
|
|
|
|
/* Define to keep records of the number of instances of each type */
|
|
|
|
#undef COUNT_ALLOCS
|
|
|
|
|
|
|
|
+/* Define if you have the Mach cthreads package */
|
|
|
|
+#undef C_THREADS
|
|
|
|
+
|
|
|
|
/* Define if C doubles are 64-bit IEEE 754 binary format, stored in ARM
|
|
|
|
mixed-endian order (byte order 45670123) */
|
|
|
|
#undef DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754
|