projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
af7ed33
)
Merge pull request #927 from ermshiperete/novell-bug-708856
author
Alex Rønne Petersen
<alex@lycus.org>
Fri, 28 Feb 2014 21:29:51 +0000
(22:29 +0100)
committer
Alex Rønne Petersen
<alex@lycus.org>
Fri, 28 Feb 2014 21:29:51 +0000
(22:29 +0100)
[MWF] Fix finding of X11 shared library on Ubuntu (#708856)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index 9450bd5484ceacaa56ebdc4676865547e67fe18b..f6fb3b31fbad1448495e42545ff24e04b77a7b49 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-2948,8
+2948,9
@@
case "$host" in
;;
*-*-*linux*)
AC_PATH_X
+ dlsearch_path=`(libtool --config ; echo eval echo \\$sys_lib_dlsearch_path_spec) | sh`
AC_MSG_CHECKING(for the soname of libX11.so)
- for i in $x_libraries
/usr/lib /usr/lib64
; do
+ for i in $x_libraries
$dlsearch_path
; do
for r in 4 5 6; do
if test -f $i/libX11.so.$r; then
X11=libX11.so.$r