Merged revisions 72871-72872 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r72871 | benjamin.peterson | 2009-05-23 14:24:37 -0500 (Sat, 23 May 2009) | 1 line

  support building with subversion 1.7 #6094
........
  r72872 | benjamin.peterson | 2009-05-23 14:31:02 -0500 (Sat, 23 May 2009) | 1 line

  reorder name
........
This commit is contained in:
Benjamin Peterson 2009-05-23 19:35:33 +00:00
parent f658e82daf
commit 2eb65457a8
7 changed files with 9 additions and 6 deletions

View File

@ -501,7 +501,7 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
$(SIGNAL_OBJS) \
$(MODOBJS) \
$(srcdir)/Modules/getbuildinfo.c
$(CC) -c $(PY_CFLAGS) -DSVNVERSION=\"`LC_ALL=C $(SVNVERSION)`\" -o $@ $(srcdir)/Modules/getbuildinfo.c
$(CC) -c $(PY_CFLAGS) -DSVNVERSION="\"`LC_ALL=C $(SVNVERSION)`\"" -o $@ $(srcdir)/Modules/getbuildinfo.c
Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile
$(CC) -c $(PY_CFLAGS) -DPYTHONPATH='"$(PYTHONPATH)"' \

View File

@ -684,6 +684,7 @@ Andrew Svetlov
Kalle Svensson
Paul Swartz
Thenault Sylvain
Arfrever Frehtes Taifersar Arahesis
Geoff Talvola
William Tanksley
Christian Tanzer

View File

@ -98,6 +98,8 @@ Library
Build
-----
- Issue #6094: Build correctly with Subversion 1.7.
- Issue #5726: Make Modules/ld_so_aix return the actual exit code of the
linker, rather than always exit successfully. Patch by Floris Bruynooghe.

View File

@ -48,5 +48,5 @@ _Py_svnversion(void)
static const char svnversion[] = SVNVERSION;
if (svnversion[0] != '$')
return svnversion; /* it was interpolated, or passed on command line */
return "exported";
return "Unversioned directory";
}

View File

@ -1161,7 +1161,7 @@ svnversion_init(void)
svnversion = _Py_svnversion();
if (strcmp(svnversion, "exported") != 0)
if (strcmp(svnversion, "Unversioned directory") != 0 && strcmp(svnversion, "exported") != 0)
svn_revision = svnversion;
else if (istag) {
len = strlen(_patchlevel_revision);

4
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Revision: 70731 .
# From configure.in Revision: 72275 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 2.6.
#
@ -4344,7 +4344,7 @@ if test $SVNVERSION = found
then
SVNVERSION="svnversion \$(srcdir)"
else
SVNVERSION="echo exported"
SVNVERSION="echo Unversioned directory"
fi
case $MACHDEP in

View File

@ -767,7 +767,7 @@ if test $SVNVERSION = found
then
SVNVERSION="svnversion \$(srcdir)"
else
SVNVERSION="echo exported"
SVNVERSION="echo Unversioned directory"
fi
case $MACHDEP in