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:
authorMiguel de Icaza <miguel@gnome.org>2014-05-16 18:54:22 +0400
committerMiguel de Icaza <miguel@gnome.org>2014-05-16 18:54:22 +0400
commit39ad7e378672cec049e83a762f21e6f84e954a43 (patch)
treef946c2d4a7bfac58ba6730bb823c70d5e1de9b64 /configure.in
parent4930f612ae7f58d3f6b3944da31e8f605ffa6bcc (diff)
parent809bd8c9b654d07b5fcc5659484bc6f76024c17f (diff)
Merge pull request #943 from ermshiperete/bug-novell-325669
[MWF] Implement multi-display support on Linux (Fixes #325669)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 104908f858e..93f228973c2 100644
--- a/configure.in
+++ b/configure.in
@@ -2507,6 +2507,7 @@ INTL="libc.so.6"
SQLITE="libsqlite.so.0"
SQLITE3="libsqlite3.so.0"
X11="libX11.so"
+XINERAMA="libXinerama.so"
sizeof_register="SIZEOF_VOID_P"
@@ -2995,6 +2996,18 @@ case "$host" in
AC_MSG_WARN([Could not find X development libs. Do you have the -devel package installed? Assuming libX11.so.6...]);
X11=libX11.so.6
fi
+ AC_MSG_CHECKING(for the soname of libXinerama.so)
+ for i in $x_libraries $dlsearch_path; do
+ for r in 1 2 3; do
+ if test -f $i/libXinerama.so.$r; then
+ XINERAMA=libXinerama.so.$r
+ AC_MSG_RESULT($XINERAMA)
+ fi
+ done
+ done
+ if test "x$XINERAMA" = "xlibXinerama.so"; then
+ AC_MSG_WARN([Could not find Xinerama development libs. Support for multiple monitors might not work...]);
+ fi
;;
esac
@@ -3344,6 +3357,7 @@ AC_SUBST(INTL)
AC_SUBST(SQLITE)
AC_SUBST(SQLITE3)
AC_SUBST(X11)
+AC_SUBST(XINERAMA)
AC_DEFINE_UNQUOTED(ARCHITECTURE,"$arch_target",[The architecture this is running on])
AC_SUBST(arch_target)
AC_SUBST(CFLAGS)