aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-03-31 21:45:18 +0000
committerGeorg Brandl <georg@python.org>2009-03-31 21:45:18 +0000
commitbcd64a3fc727e773d4efac3995faa44cc973bb3d (patch)
treedcf7381dae1c512309748575a77c94bdcf5c09d9 /configure
parent#1675026: add a note about a strange Windows problem, and remove notes about ... (diff)
downloadcpython-bcd64a3fc727e773d4efac3995faa44cc973bb3d.tar.gz
cpython-bcd64a3fc727e773d4efac3995faa44cc973bb3d.tar.bz2
cpython-bcd64a3fc727e773d4efac3995faa44cc973bb3d.zip
#1676135: remove trailing slashes from --prefix argument.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index 328629d3511..82542b3b2a7 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 70479 .
+# From configure.in Revision: 70730 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 2.7.
#
@@ -1807,6 +1807,11 @@ ac_config_headers="$ac_config_headers pyconfig.h"
+if test "$prefix" != "/"; then
+ prefix=`echo "$prefix" | sed -e 's/\/$//g'`
+fi
+
+