2010-07-21 20:48:17 +00:00
|
|
|
diff -up ./configure.autotool-intermediates ./configure
|
Updated to Python 2.7.4.
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
configuration flags), 130 (add extension to python config), 134 (fix
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests), 165 (crypt module salt backport),
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
connection; merged upstream)
2013-04-09 08:54:58 +00:00
|
|
|
--- ./configure.autotool-intermediates 2013-04-09 11:24:01.024185796 +0200
|
|
|
|
+++ ./configure 2013-04-09 11:24:01.780183954 +0200
|
|
|
|
@@ -639,6 +639,8 @@ TRUE
|
2010-07-21 20:48:17 +00:00
|
|
|
MACHDEP_OBJS
|
|
|
|
DYNLOADFILE
|
|
|
|
DLINCLDIR
|
|
|
|
+DTRACEHDRS
|
|
|
|
+DTRACEOBJS
|
|
|
|
THREADOBJ
|
|
|
|
LDLAST
|
|
|
|
USE_THREAD_MODULE
|
Updated to Python 2.7.4.
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
configuration flags), 130 (add extension to python config), 134 (fix
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests), 165 (crypt module salt backport),
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
connection; merged upstream)
2013-04-09 08:54:58 +00:00
|
|
|
@@ -659,6 +661,8 @@ OTHER_LIBTOOL_OPT
|
2010-07-21 20:48:17 +00:00
|
|
|
UNIVERSAL_ARCH_FLAGS
|
|
|
|
BASECFLAGS
|
|
|
|
OPT
|
|
|
|
+DEBUG_SUFFIX
|
|
|
|
+DEBUG_EXT
|
|
|
|
LN
|
Updated to Python 2.7.4.
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
configuration flags), 130 (add extension to python config), 134 (fix
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests), 165 (crypt module salt backport),
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
connection; merged upstream)
2013-04-09 08:54:58 +00:00
|
|
|
MKDIR_P
|
2010-07-21 20:48:17 +00:00
|
|
|
INSTALL_DATA
|
Updated to Python 2.7.4.
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
configuration flags), 130 (add extension to python config), 134 (fix
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests), 165 (crypt module salt backport),
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
connection; merged upstream)
2013-04-09 08:54:58 +00:00
|
|
|
@@ -795,8 +799,11 @@ with_pth
|
2010-07-21 20:48:17 +00:00
|
|
|
enable_ipv6
|
|
|
|
with_doc_strings
|
|
|
|
with_tsc
|
|
|
|
+with_count_allocs
|
|
|
|
+with_call_profile
|
|
|
|
with_pymalloc
|
|
|
|
with_valgrind
|
|
|
|
+with_dtrace
|
|
|
|
with_wctype_functions
|
|
|
|
with_fpectl
|
|
|
|
with_libm
|
Updated to Python 2.7.4.
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
configuration flags), 130 (add extension to python config), 134 (fix
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests), 165 (crypt module salt backport),
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
connection; merged upstream)
2013-04-09 08:54:58 +00:00
|
|
|
@@ -1472,8 +1479,11 @@ Optional Packages:
|
2010-07-21 20:48:17 +00:00
|
|
|
--with-pth use GNU pth threading libraries
|
|
|
|
--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-wctype-functions use wctype.h functions
|
|
|
|
--with-fpectl enable SIGFPE catching
|
|
|
|
--with-libm=STRING math library
|
Updated to Python 2.7.4.
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
configuration flags), 130 (add extension to python config), 134 (fix
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests), 165 (crypt module salt backport),
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
connection; merged upstream)
2013-04-09 08:54:58 +00:00
|
|
|
@@ -5343,8 +5353,8 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>
|
2010-07-21 20:48:17 +00:00
|
|
|
INSTSONAME="$LDLIBRARY".$SOVERSION
|
|
|
|
;;
|
2012-04-13 14:36:12 +00:00
|
|
|
Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
|
2010-07-21 20:48:17 +00:00
|
|
|
- LDLIBRARY='libpython$(VERSION).so'
|
|
|
|
- BLDLIBRARY='-L. -lpython$(VERSION)'
|
|
|
|
+ LDLIBRARY='libpython$(VERSION)$(DEBUG_EXT).so'
|
|
|
|
+ BLDLIBRARY='-L. -lpython$(VERSION)$(DEBUG_EXT)'
|
2014-06-04 13:11:57 +00:00
|
|
|
RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
2010-07-21 20:48:17 +00:00
|
|
|
case $ac_sys_system in
|
|
|
|
FreeBSD*)
|
Updated to Python 2.7.4.
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
configuration flags), 130 (add extension to python config), 134 (fix
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests), 165 (crypt module salt backport),
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
connection; merged upstream)
2013-04-09 08:54:58 +00:00
|
|
|
@@ -5367,7 +5377,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>
|
2010-07-21 20:48:17 +00:00
|
|
|
;;
|
|
|
|
OSF*)
|
|
|
|
LDLIBRARY='libpython$(VERSION).so'
|
|
|
|
- BLDLIBRARY='-rpath $(LIBDIR) -L. -lpython$(VERSION)'
|
|
|
|
+ BLDLIBRARY='-L. -lpython$(VERSION)'
|
2014-06-04 13:11:57 +00:00
|
|
|
RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
2010-07-21 20:48:17 +00:00
|
|
|
;;
|
|
|
|
atheos*)
|
Updated to Python 2.7.4.
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
configuration flags), 130 (add extension to python config), 134 (fix
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests), 165 (crypt module salt backport),
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
connection; merged upstream)
2013-04-09 08:54:58 +00:00
|
|
|
@@ -5894,6 +5904,14 @@ $as_echo "no" >&6; }
|
2010-07-21 20:48:17 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
+if test "$Py_DEBUG" = 'true'
|
|
|
|
+then
|
|
|
|
+ DEBUG_EXT=_d
|
|
|
|
+ DEBUG_SUFFIX=-debug
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
# XXX Shouldn't the code above that fiddles with BASECFLAGS and OPT be
|
|
|
|
# merged with this chunk of code?
|
|
|
|
|
Updated to Python 2.7.4.
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
configuration flags), 130 (add extension to python config), 134 (fix
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests), 165 (crypt module salt backport),
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
connection; merged upstream)
2013-04-09 08:54:58 +00:00
|
|
|
@@ -9958,6 +9976,50 @@ $as_echo "no" >&6; }
|
2010-07-21 20:48:17 +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; }
|
Updated to Python 2.7.4.
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
configuration flags), 130 (add extension to python config), 134 (fix
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests), 165 (crypt module salt backport),
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
connection; merged upstream)
2013-04-09 08:54:58 +00:00
|
|
|
@@ -10007,6 +10069,46 @@ fi
|
2010-07-21 20:48:17 +00:00
|
|
|
|
|
|
|
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; }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
# Check for --with-wctype-functions
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-wctype-functions" >&5
|
|
|
|
$as_echo_n "checking for --with-wctype-functions... " >&6; }
|
|
|
|
diff -up ./pyconfig.h.in.autotool-intermediates ./pyconfig.h.in
|
Updated to Python 2.7.4.
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
configuration flags), 130 (add extension to python config), 134 (fix
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests), 165 (crypt module salt backport),
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
connection; merged upstream)
2013-04-09 08:54:58 +00:00
|
|
|
--- ./pyconfig.h.in.autotool-intermediates 2013-04-09 11:24:01.020185806 +0200
|
|
|
|
+++ ./pyconfig.h.in 2013-04-09 11:24:02.088183204 +0200
|
2010-07-21 20:48:17 +00:00
|
|
|
@@ -18,6 +18,12 @@
|
|
|
|
/* Define this if you have BeOS threads. */
|
|
|
|
#undef BEOS_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
|
|
|
|
|
Updated to Python 2.7.4.
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
configuration flags), 130 (add extension to python config), 134 (fix
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests), 165 (crypt module salt backport),
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
connection; merged upstream)
2013-04-09 08:54:58 +00:00
|
|
|
@@ -1119,12 +1125,6 @@
|
2010-07-21 20:48:17 +00:00
|
|
|
/* Define to profile with the Pentium timestamp counter */
|
|
|
|
#undef WITH_TSC
|
|
|
|
|
|
|
|
-/* Define to keep records of the number of instances of each type */
|
|
|
|
-#undef COUNT_ALLOCS
|
|
|
|
-
|
|
|
|
-/* Define to keep records on function call invocation */
|
|
|
|
-#undef CALL_PROFILE
|
|
|
|
-
|
|
|
|
/* Define if you want pymalloc to be disabled when running under valgrind */
|
|
|
|
#undef WITH_VALGRIND
|
|
|
|
|