Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Maurer <benm@mono-cvs.ximian.com>2005-05-25 23:11:41 +0400
committerBen Maurer <benm@mono-cvs.ximian.com>2005-05-25 23:11:41 +0400
commit708a0f99ffa384614f8949d5424f155b51abaed1 (patch)
tree8017ce62615be7fceef8c497234234961acf6b2c /configure.in
parentea8800d98c105687ccf20c2f6e812e681860669a (diff)
2005-05-25 Ben Maurer <bmaurer@ximian.com>
* configure.in: Do a test for libX11.so that really works :-). svn path=/trunk/mono/; revision=45010
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 8531d428198..d81daa51c3f 100644
--- a/configure.in
+++ b/configure.in
@@ -1333,7 +1333,7 @@ LIBC="libc.so.6"
INTL="libc.so.6"
SQLITE="libsqlite.so.0"
SQLITE3="libsqlite3.so.0"
-X11="libX11.so.6.2"
+X11="libX11.so"
jit_wanted=false
interp_wanted=false
@@ -1511,6 +1511,14 @@ case "$host" in
INTL="libintl.so"
;;
esac
+
+if test "x$X11" = "xlibX11.so"; then
+ AC_PATH_X
+ if test "x$no_x" != "xyes"; then
+ X11=`readlink $x_libraries/libX11.so`
+ fi
+fi
+
AC_SUBST(libsuffix)
if test "x$TARGET" != "xAMD64"; then