Hi,

I've attached a patch to fix an issue where the wrong python3 config
directory is used when a system's sys.abiflags are empty.

Thanks,
Tim

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


# HG changeset patch
# User Tim Harder <[email protected]>
# Date 1373407408 25200
#      Tue Jul 09 15:03:28 2013 -0700
# Node ID ce2cfb2b919ce460a3f9094c12013c2a1963b9ab
# Parent  5bb04d03dfa843c1080ed3872daacc42caa86542
Use correct python3 config directory when sys.abiflags is empty

diff -r 5bb04d03dfa8 -r ce2cfb2b919c src/configure.in
--- a/src/configure.in	Tue Jul 09 21:57:52 2013 +0200
+++ b/src/configure.in	Tue Jul 09 15:03:28 2013 -0700
@@ -1110,9 +1110,9 @@
       AC_CACHE_CHECK(Python's configuration directory,vi_cv_path_python3_conf,
       [
        vi_cv_path_python3_conf=
-       config_dir="config"
+       config_dir="config-${vi_cv_var_python3_version}"
        if test "${vi_cv_var_python3_abiflags}" != ""; then
-         config_dir="${config_dir}-${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
+         config_dir="${config_dir}${vi_cv_var_python3_abiflags}"
        fi
        d=`${vi_cv_path_python3} -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBPL'))"`
        if test -d "$d" && test -f "$d/config.c"; then

Raspunde prin e-mail lui