git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a96dd45
)
better handling of GLITE_LDFLAGS values
author
Michal Voců
<michal@ruk.cuni.cz>
Tue, 25 May 2010 20:15:50 +0000
(20:15 +0000)
committer
Michal Voců
<michal@ruk.cuni.cz>
Tue, 25 May 2010 20:15:50 +0000
(20:15 +0000)
org.glite.lb.client/m4/glite_lb.m4
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.client/m4/glite_lb.m4
b/org.glite.lb.client/m4/glite_lb.m4
index
a71c840
..
6eebce9
100644
(file)
--- a/
org.glite.lb.client/m4/glite_lb.m4
+++ b/
org.glite.lb.client/m4/glite_lb.m4
@@
-61,7
+61,19
@@
AC_DEFUN([AC_GLITE_LB],
if test -z "$GLITE_LDFLAGS" ; then
AC_GLITE
fi
- ac_glite_lb_libdir=`basename -- $GLITE_LDFLAGS`
+ case $GLITE_LDFLAGS in
+ *lib64* )
+ ac_glite_lb_libdir=lib64
+ ;;
+
+ *lib32* )
+ ac_glite_lb_libdir=lib32
+ ;;
+
+ * )
+ ac_glite_lb_libdir=lib
+ ;;
+ esac
if test -n "$ac_glite_lb_prefix" ; then