From 8e8d7e7cdaa3c2e66cfb701fed8d81280ba4f3a9 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Sun, 11 Dec 2005 00:22:53 +0000
Subject: [PATCH] from Axel: fix for pythonlib version handling on Win32 and
 speedup of library checking.

git-svn-id: http://root.cern.ch/svn/root/trunk@13622 27541ba8-7e3a-0410-8455-c3a389f83636
---
 configure | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 4adce37bf1f..00ec86d7c7a 100755
--- a/configure
+++ b/configure
@@ -298,6 +298,9 @@ check_library() {
             i="$i64"
         fi
         for l in $i ; do
+            if test ! -d $l ; then
+		continue
+            fi
             for j in ${libs} ; do
 	        # if we found the file (it's readable by user), we set the
 	        # logical variables and are on our way, otherwise we continue
@@ -1993,7 +1996,7 @@ if test ! "x$enable_python" = "xno" ; then
     else
         pythonlibflags=
         case $platform in
-            win32) pythonlibflags="-nodefaultlib:python23" ;;
+            win32) pythonlibflags="-nodefaultlib:`basename $pythonlib`" ;;
         esac
     fi
 fi
-- 
GitLab