aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in17
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)
242AC_SUBST(GNOME) 242AC_SUBST(GNOME)
243 243
244dnl Check for Xinerama support
245XINERAMA=""
246AC_MSG_CHECKING([whether to build support for the Xinerama extension])
247AC_ARG_ENABLE(xinerama,
248[ --enable-xinerama enable xinerama extension [default=no]], , [enable_xinerama=no])
249
250if test "x$enable_xinerama" = "xyes"; then
251 AC_MSG_RESULT([yes])
252 AC_CHECK_LIB(Xinerama, XineramaQueryScreens,
253 XINERAMA="-DXINERAMA"; Xinerama_libs="-lXinerama", )
254else
255 AC_MSG_RESULT([no])
256fi
257AC_SUBST(XINERAMA)
258
259LIBS="$LIBS $Xinerama_libs"
260
244dnl Determine the return type of signal handlers 261dnl Determine the return type of signal handlers
245AC_TYPE_SIGNAL 262AC_TYPE_SIGNAL
246 263