From 07e2d19d98f4f55272dc461ccbf29d5eb393d108 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Wed, 6 Jul 2005 11:05:24 +0000
Subject: [PATCH] From Peter Hristov: fix in detection of libraries on 64 bit
 machines.

git-svn-id: http://root.cern.ch/svn/root/trunk@12263 27541ba8-7e3a-0410-8455-c3a389f83636
---
 configure | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 1c240691eb3..57d152d3e4a 100755
--- a/configure
+++ b/configure
@@ -241,19 +241,19 @@ check_library() {
     for i in $libdirs ; do
         # look first in the lib32 directories
         if test "x$checklib32" = "xyes" ; then
-            i32=`echo $i | sed 's|lib*|lib32|'`
+            i32=`echo $i | sed 's|lib|lib32|'`
             #i="$i32 $i"
             i="$i32"
         fi
         # look first in the lib64 directories
         if test "x$checklib64" = "xyes" ; then
-            i64=`echo $i | sed 's|lib*|lib64|'`
+            i64=`echo $i | sed 's|lib|lib64|'`
             #i="$i64 $i"
             i="$i64"
         fi
         # look first in the hpux64 directories
         if test "x$checkhpux64" = "xyes" ; then
-            i64=`echo $i | sed 's|\(lib*\)|\1/hpux64|'`
+            i64=`echo $i | sed 's|\(lib\)|\1/hpux64|'`
             #i="$i64 $i"
             i="$i64"
         fi
-- 
GitLab