From 5d077dc69f92dbc64405c9d99c60c57398a159f0 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Wed, 28 Apr 2004 13:36:30 +0000
Subject: [PATCH] fixed wrong test, not if object (file/directory) exists, but
 if object is a regular file.

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

diff --git a/configure b/configure
index 72a6a20602d..be2611cc3af 100755
--- a/configure
+++ b/configure
@@ -226,7 +226,7 @@ check_library() {
 	        # logical variables and are on our way, otherwise we continue
                 liblist=`echo $l/$j`    # expands wildcard in $l/$j
                 for n in ${liblist} ; do
-                    if test -r $n ; then
+                    if test -f $n ; then
                         found_dir=$l
                         found_lib=$j
                         break 4
-- 
GitLab