From 9f5e36bc609b9210de386acfeb390802ad45bd0e Mon Sep 17 00:00:00 2001
From: Bram Moolenaar <Bram@vim.org>
Date: Sat, 24 Jul 2010 16:11:21 +0200
Subject: [PATCH] Find python3 also in lib64 directory. (Ben Boeckel)

---
 src/auto/configure | 2 +-
 src/configure.in   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/auto/configure b/src/auto/configure
index 209ad6c660..651c79221d 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -5507,7 +5507,7 @@ else
 
      vi_cv_path_python3_conf=
      for path in "${vi_cv_path_python3_pfx}" "${vi_cv_path_python3_epfx}"; do
-       for subdir in lib share; do
+       for subdir in lib64 lib share; do
          d="${path}/${subdir}/python${vi_cv_var_python3_version}/config"
          if test -d "$d" && test -f "$d/config.c"; then
            vi_cv_path_python3_conf="$d"
diff --git a/src/configure.in b/src/configure.in
index 18c7ff1825..836d242847 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -975,7 +975,7 @@ if test "$enable_python3interp" = "yes"; then
     [
      vi_cv_path_python3_conf=
      for path in "${vi_cv_path_python3_pfx}" "${vi_cv_path_python3_epfx}"; do
-       for subdir in lib share; do
+       for subdir in lib64 lib share; do
          d="${path}/${subdir}/python${vi_cv_var_python3_version}/config"
          if test -d "$d" && test -f "$d/config.c"; then
            vi_cv_path_python3_conf="$d"
-- 
GitLab