1 diff -up ./configure.autotool-intermediates ./configure
2 --- ./configure.autotool-intermediates 2013-04-09 11:24:01.024185796 +0200
3 +++ ./configure 2013-04-09 11:24:01.780183954 +0200
4 @@ -639,6 +639,8 @@ TRUE
13 @@ -659,6 +661,8 @@ OTHER_LIBTOOL_OPT
22 @@ -795,8 +799,11 @@ with_pth
34 @@ -1472,8 +1479,11 @@ Optional Packages:
35 --with-pth use GNU pth threading libraries
36 --with(out)-doc-strings disable/enable documentation strings
37 --with(out)-tsc enable/disable timestamp counter profile
38 + --with(out)count-allocs enable/disable per-type instance accounting
39 + --with(out)-call-profile enable/disable statistics on function call invocation
40 --with(out)-pymalloc disable/enable specialized mallocs
41 --with-valgrind Enable Valgrind support
42 + --with(out)-dtrace disable/enable dtrace support
43 --with-wctype-functions use wctype.h functions
44 --with-fpectl enable SIGFPE catching
45 --with-libm=STRING math library
46 @@ -5171,7 +5181,7 @@ esac
47 $as_echo_n "checking LIBRARY... " >&6; }
50 - LIBRARY='libpython$(VERSION).a'
51 + LIBRARY='libpython$(VERSION)$(DEBUG_EXT).a'
53 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRARY" >&5
54 $as_echo "$LIBRARY" >&6; }
55 @@ -5343,8 +5353,8 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>
56 INSTSONAME="$LDLIBRARY".$SOVERSION
58 Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*)
59 - LDLIBRARY='libpython$(VERSION).so'
60 - BLDLIBRARY='-L. -lpython$(VERSION)'
61 + LDLIBRARY='libpython$(VERSION)$(DEBUG_EXT).so'
62 + BLDLIBRARY='-L. -lpython$(VERSION)$(DEBUG_EXT)'
63 RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
64 case $ac_sys_system in
66 @@ -5367,7 +5377,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >>
69 LDLIBRARY='libpython$(VERSION).so'
70 - BLDLIBRARY='-rpath $(LIBDIR) -L. -lpython$(VERSION)'
71 + BLDLIBRARY='-L. -lpython$(VERSION)'
72 RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
75 @@ -5894,6 +5904,14 @@ $as_echo "no" >&6; }
79 +if test "$Py_DEBUG" = 'true'
87 # XXX Shouldn't the code above that fiddles with BASECFLAGS and OPT be
88 # merged with this chunk of code?
90 @@ -9958,6 +9976,50 @@ $as_echo "no" >&6; }
94 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-count-allocs" >&5
95 +$as_echo_n "checking for --with-count-allocs... " >&6; }
97 +# Check whether --with-count-allocs was given.
98 +if test "${with_count_allocs+set}" = set; then :
99 + withval=$with_count_allocs;
100 +if test "$withval" != no
103 +$as_echo "#define COUNT_ALLOCS 1" >>confdefs.h
105 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
106 +$as_echo "yes" >&6; }
107 +else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
108 +$as_echo "no" >&6; }
111 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
112 +$as_echo "no" >&6; }
116 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-call-profile" >&5
117 +$as_echo_n "checking for --with-call-profile... " >&6; }
119 +# Check whether --with-call-profile was given.
120 +if test "${with_call_profile+set}" = set; then :
121 + withval=$with_call_profile;
122 +if test "$withval" != no
125 +$as_echo "#define CALL_PROFILE 1" >>confdefs.h
127 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
128 +$as_echo "yes" >&6; }
129 +else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
130 +$as_echo "no" >&6; }
133 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
134 +$as_echo "no" >&6; }
138 # Check for Python-specific malloc support
139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pymalloc" >&5
140 $as_echo_n "checking for --with-pymalloc... " >&6; }
141 @@ -10007,6 +10069,46 @@ fi
145 +# Check for dtrace support
146 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-dtrace" >&5
147 +$as_echo_n "checking for --with-dtrace... " >&6; }
149 +# Check whether --with-dtrace was given.
150 +if test "${with_dtrace+set}" = set; then :
151 + withval=$with_dtrace;
155 +if test ! -z "$with_dtrace"
157 + if dtrace -G -o /dev/null -s $srcdir/Include/pydtrace.d 2>/dev/null
160 +$as_echo "#define WITH_DTRACE 1" >>confdefs.h
163 + DTRACEOBJS="Python/dtrace.o"
165 + elif dtrace -h -o /dev/null -s $srcdir/Include/pydtrace.d
168 +$as_echo "#define WITH_DTRACE 1" >>confdefs.h
170 + with_dtrace="Apple"
172 + DTRADEHDRS="pydtrace.h"
180 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dtrace" >&5
181 +$as_echo "$with_dtrace" >&6; }
185 # Check for --with-wctype-functions
186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-wctype-functions" >&5
187 $as_echo_n "checking for --with-wctype-functions... " >&6; }
188 diff -up ./pyconfig.h.in.autotool-intermediates ./pyconfig.h.in
189 --- ./pyconfig.h.in.autotool-intermediates 2013-04-09 11:24:01.020185806 +0200
190 +++ ./pyconfig.h.in 2013-04-09 11:24:02.088183204 +0200
192 /* Define this if you have BeOS threads. */
195 +/* Define to keep records on function call invocation */
198 +/* Define to keep records of the number of instances of each type */
201 /* Define if you have the Mach cthreads package */
204 @@ -1119,12 +1125,6 @@
205 /* Define to profile with the Pentium timestamp counter */
208 -/* Define to keep records of the number of instances of each type */
211 -/* Define to keep records on function call invocation */
214 /* Define if you want pymalloc to be disabled when running under valgrind */