summaryrefslogtreecommitdiff
path: root/src/auto/configure
diff options
context:
space:
mode:
Diffstat (limited to 'src/auto/configure')
-rwxr-xr-xsrc/auto/configure5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/auto/configure b/src/auto/configure
index 6975af174..f6bd0534b 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -5674,10 +5674,7 @@ if test "${vi_cv_path_python3_conf+set}" = set; then :
else
vi_cv_path_python3_conf=
- config_dir="config"
- if test "${vi_cv_var_python3_abiflags}" != ""; then
- config_dir="${config_dir}-${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
- fi
+ config_dir="config-${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
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
vi_cv_path_python3_conf="$d"