diff options
author | Ben Maurer <benm@mono-cvs.ximian.com> | 2005-05-25 23:11:41 +0400 |
---|---|---|
committer | Ben Maurer <benm@mono-cvs.ximian.com> | 2005-05-25 23:11:41 +0400 |
commit | 708a0f99ffa384614f8949d5424f155b51abaed1 (patch) | |
tree | 8017ce62615be7fceef8c497234234961acf6b2c /configure.in | |
parent | ea8800d98c105687ccf20c2f6e812e681860669a (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.in | 10 |
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 |