From b3bfe4e510d037c82de2686070a6e829854abaf7 Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Sat, 13 Dec 2003 09:25:52 +0000 Subject: [PATCH] Brian Victor's Patch git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure.in | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/configure.in b/configure.in index 9054a539eb..d1f2e9b6e6 100644 --- a/configure.in +++ b/configure.in @@ -2953,6 +2953,28 @@ if test "$wxUSE_ZLIB" = "builtin" ; then ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)" fi +dnl --------------------------------------------------------------------------- +dnl Xinerama (for unix wxDisplay) - Brian Victor +dnl --------------------------------------------------------------------------- +if test "$wxUSE_DISPLAY" = "yes"; then + if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then + AC_MSG_CHECKING([for Xinerama]) + WX_PATH_FIND_LIBRARIES([$SEARCH_LIB],Xinerama) + if test "$ac_find_libraries" != "" ; then + WX_LINK_PATH_EXIST([$ac_find_libraries],[$LDFLAGS]) + if test "$ac_path_to_link" != " -L/usr/lib" ; then + LDFLAGS="$LDFLAGS $ac_path_to_link" + fi + GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + AC_MSG_WARN("*** Xinerama not found; disabling wxDisplay") + wxUSE_DISPLAY="no" + fi + fi +fi + dnl --------------------------------------------------------------------------- dnl OpenGL libraries dnl --------------------------------------------------------------------------- -- 2.45.2