diff options
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 | ||