Skip to content
Snippets Groups Projects
Commit 34279035 authored by Fons Rademakers's avatar Fons Rademakers
Browse files

make libdir in check_library() unique so it does not clash with the

global libdir. Thanks Damir.


git-svn-id: http://root.cern.ch/svn/root/trunk@3820 27541ba8-7e3a-0410-8455-c3a389f83636
parent b1423697
No related branches found
No related tags found
No related merge requests found
......@@ -73,10 +73,10 @@ check_library() {
return 1
fi
# Save arguments in logical names
# Save arguments in local names
lib=$1 ; shift
shared=$1 ; shift
libdir=$1 ; shift
libdirl=$1 ; shift
libdirs="$*"
# Write a message
......@@ -84,8 +84,8 @@ check_library() {
# check if we got a specific argument as to where the library
# is to be found
if test ! "x$libdir" = "x" ; then
libdirs=$libdir
if test ! "x$libdirl" = "x" ; then
libdirs=$libdirl
fi
found_lib=no
found_dir=no
......@@ -151,7 +151,7 @@ check_library() {
unset shared
unset lib
unset flib
unset libdir
unset libdirl
}
check_header() {
# This function will try to locate a header [$1] in the specific
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment