diff options
author | pekdon <pekdon> | 2002-03-23 02:02:01 (GMT) |
---|---|---|
committer | pekdon <pekdon> | 2002-03-23 02:02:01 (GMT) |
commit | e133cf83a332a72ca42be5e223834d4e6aa0a2e8 (patch) | |
tree | 72585011623d644257f362dbece3ab3a0b9a4119 /configure.in | |
parent | 1022df421227aea29259204ce69b93df16c0f7db (diff) | |
download | fluxbox_pavel-e133cf83a332a72ca42be5e223834d4e6aa0a2e8.zip fluxbox_pavel-e133cf83a332a72ca42be5e223834d4e6aa0a2e8.tar.bz2 |
Xinerama
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.in b/configure.in index d710bc7..bee2bd0 100644 --- a/configure.in +++ b/configure.in | |||
@@ -241,6 +241,23 @@ AC_ARG_ENABLE( | |||
241 | ) | 241 | ) |
242 | AC_SUBST(GNOME) | 242 | AC_SUBST(GNOME) |
243 | 243 | ||
244 | dnl Check for Xinerama support | ||
245 | XINERAMA="" | ||
246 | AC_MSG_CHECKING([whether to build support for the Xinerama extension]) | ||
247 | AC_ARG_ENABLE(xinerama, | ||
248 | [ --enable-xinerama enable xinerama extension [default=no]], , [enable_xinerama=no]) | ||
249 | |||
250 | if test "x$enable_xinerama" = "xyes"; then | ||
251 | AC_MSG_RESULT([yes]) | ||
252 | AC_CHECK_LIB(Xinerama, XineramaQueryScreens, | ||
253 | XINERAMA="-DXINERAMA"; Xinerama_libs="-lXinerama", ) | ||
254 | else | ||
255 | AC_MSG_RESULT([no]) | ||
256 | fi | ||
257 | AC_SUBST(XINERAMA) | ||
258 | |||
259 | LIBS="$LIBS $Xinerama_libs" | ||
260 | |||
244 | dnl Determine the return type of signal handlers | 261 | dnl Determine the return type of signal handlers |
245 | AC_TYPE_SIGNAL | 262 | AC_TYPE_SIGNAL |
246 | 263 | ||