[Python-checkins] r58941 - in python/trunk: Makefile.pre.in Misc/NEWS Python/hypot.c

martin.v.loewis python-checkins at python.org
Mon Nov 12 06:14:05 CET 2007


Author: martin.v.loewis
Date: Mon Nov 12 06:14:05 2007
New Revision: 58941

Modified:
   python/trunk/Makefile.pre.in
   python/trunk/Misc/NEWS
   python/trunk/Python/hypot.c
Log:
Patch #1418: Make the AC_REPLACE_FUNCS object files actually work.


Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in	(original)
+++ python/trunk/Makefile.pre.in	Mon Nov 12 06:14:05 2007
@@ -169,6 +169,8 @@
 DLINCLDIR=	@DLINCLDIR@
 DYNLOADFILE=	@DYNLOADFILE@
 MACHDEP_OBJS=	@MACHDEP_OBJS@
+LIBOBJDIR=	Python/
+LIBOBJS=	@LIBOBJS@
 UNICODE_OBJS=   @UNICODE_OBJS@
 
 PYTHON=		python$(EXE)
@@ -275,6 +277,7 @@
 		Python/getopt.o \
 		Python/pystrtod.o \
 		Python/$(DYNLOADFILE) \
+		$(LIBOBJS) \
 		$(MACHDEP_OBJS) \
 		$(THREADOBJ)
 

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Mon Nov 12 06:14:05 2007
@@ -1047,6 +1047,8 @@
 Build
 -----
 
+- Patch #1418: Make the AC_REPLACE_FUNCS object files actually work.
+
 - Add a FAST_LOOPS build option that speeds-up looping by trading away
   periodic threadstate and signal checking in tight loops.  By default,
   this option is turned-off.  It should only be enabled in debugged,

Modified: python/trunk/Python/hypot.c
==============================================================================
--- python/trunk/Python/hypot.c	(original)
+++ python/trunk/Python/hypot.c	Mon Nov 12 06:14:05 2007
@@ -1,7 +1,6 @@
 /* hypot() replacement */
 
-#include "pyconfig.h"
-#include "pyport.h"
+#include "Python.h"
 
 double hypot(double x, double y)
 {


More information about the Python-checkins mailing list