1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-09 23:34:14 +01:00

xinerama stuff for solaris

This commit is contained in:
kojima
2003-06-04 18:57:03 +00:00
parent 479ccbda82
commit 5dbb770aa4
8 changed files with 108 additions and 67 deletions

View File

@@ -532,8 +532,15 @@ AC_ARG_ENABLE(xinerama,
xinerama=$enableval, xinerama=no)
if test "$xinerama" = yes; then
AC_CHECK_LIB(Xinerama, XineramaQueryScreens, [XLIBS="-lXinerama $XLIBS"
AC_DEFINE(XINERAMA, 1, [define if you want support for the XINERAMA extension (set by configure)])],
AC_CHECK_LIB(Xinerama, XineramaQueryScreens,
[XLIBS="-lXinerama $XLIBS"
AC_DEFINE(XINERAMA, 1, [define if you want support for the XINERAMA extension (XFree86 version/set by configure)])
xinerama=yes],
xinerama=no, $XLFLAGS $XLIBS)
AC_CHECK_LIB(Xext, XineramaGetInfo,
[AC_DEFINE(SOLARIS_XINERAMA, 1, [define if you want support for the XINERAMA extension (Solaris version/set by configure)])
xinerama=yes],
xinerama=no, $XLFLAGS $XLIBS)
fi