Index: configure.in =================================================================== --- configure.in (revision 54211) +++ configure.in (arbetskopia) @@ -9,6 +9,15 @@ AC_CONFIG_SRCDIR([Include/object.h]) AC_CONFIG_HEADER(pyconfig.h) +dnl Ensure that if prefix is specified, it does not end in a slah. If +dnl it does, we get path names containing '//' which is both ugly and +dnl can cause trouble. +case "${prefix}" in + */) + prefix=${prefix%/} + ;; +esac + dnl This is for stuff that absolutely must end up in pyconfig.h. dnl Please use pyport.h instead, if possible. AH_TOP([