1 diff -Nur Python-2.5.2.orig/configure.in Python-2.5.2/configure.in
2 --- Python-2.5.2.orig/configure.in 2008-02-13 19:17:17.000000000 +0000
3 +++ Python-2.5.2/configure.in 2008-02-26 09:43:17.000000000 +0000
5 if test "$Py_DEBUG" = 'true' ; then
6 # Optimization messes up debuggers, so turn it off for
8 - OPT="-g -O0 -Wall $STRICT_PROTO"
9 + OPT="-g $CPPFLAGS $CFLAGS -Wall $STRICT_PROTO"
11 - OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
12 + OPT="-g $WRAP $CPPFLAGS $CFLAGS -Wall $STRICT_PROTO"
16 - OPT="-O3 -Wall $STRICT_PROTO"
17 + OPT="$CPPFLAGS $CFLAGS -Wall $STRICT_PROTO"
20 case $ac_sys_system in
21 --- Python-2.7/Makefile.pre.in~ 2010-04-12 02:10:46.000000000 +0200
22 +++ Python-2.7/Makefile.pre.in 2010-07-05 20:04:00.942224202 +0200
26 $(INSTALL_DATA) $(srcdir)/Misc/python.man \
27 - $(DESTDIR)$(MANDIR)/man1/python$(VERSION).1
28 + $(DESTDIR)$(MANDIR)/man1/python.1
31 PLATDIR= plat-$(MACHDEP)
33 python-config: $(srcdir)/Misc/python-config.in
34 # Substitution happens here, as the completely-expanded BINDIR
35 # is not available in configure
36 - sed -e "s,@EXENAME@,$(BINDIR)/python$(VERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config
37 + sed -e "s,@EXENAME@,$(BINDIR)/python$(EXE)," < $(srcdir)/Misc/python-config.in >python-config
39 # Install the include files
40 INCLDIRSTOMAKE=$(INCLUDEDIR) $(CONFINCLUDEDIR) $(INCLUDEPY) $(CONFINCLUDEPY)
41 --- Python-2.7/configure.in.orig 2010-07-09 10:02:40.053393415 +0200
42 +++ Python-2.7/configure.in 2010-07-09 20:22:36.345392577 +0200
44 # Set VERSION so we only need to edit in one place (i.e., here)
45 m4_define(PYTHON_VERSION, 2.7)
47 -dnl Some m4 magic to ensure that the configure script is generated
48 -dnl by the correct autoconf version.
49 -m4_define([version_required],
50 -[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]), [$1]), 0,
52 - [m4_fatal([Autoconf version $1 is required for Python], 63)])
54 -version_required(2.65)
57 AC_REVISION($Revision$)
58 AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/)