view patches/python-configure.in-posix.patch @ 6512:ccc20ae889ca default tip guix

mingw::guile-2.0.7 builds.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 24 Mar 2016 08:03:39 +0100
parents 79f7014980fa
children
line wrap: on
line source

--- configure.in~	Mon Jan  9 15:35:53 2006
+++ configure.in	Mon Jan  9 16:05:22 2006
@@ -3246,8 +3246,11 @@
 echo "creating Setup"
 if test ! -f Modules/Setup
 then
-	sed -e "s/@POSIX@/$POSIX/" $srcdir/Modules/Setup.dist > Modules/Setup
+	cp $srcdir/Modules/Setup.dist Modules/Setup
 fi
+mv Modules/Setup Modules/Setup~
+sed -e "s/@POSIX@/$POSIX/g" < Modules/Setup~ > Modules/Setup
+
 
 echo "creating Setup.local"
 if test ! -f Modules/Setup.local