aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in22
1 files changed, 11 insertions, 11 deletions
diff --git a/configure.in b/configure.in
index 7e0cf7a..3657edc 100644
--- a/configure.in
+++ b/configure.in
@@ -423,20 +423,20 @@ AC_ARG_ENABLE(
423dnl Check for Xinerama support 423dnl Check for Xinerama support
424 424
425AC_MSG_CHECKING([whether to build support for the Xinerama extension]) 425AC_MSG_CHECKING([whether to build support for the Xinerama extension])
426AC_ARG_ENABLE(xinerama, 426AC_ARG_ENABLE(
427[ --enable-xinerama enable xinerama extension [default=no]], , [enable_xinerama=no]) 427 xinerama,
428 428[ --enable-xinerama enable xinerama extension [default=no]],
429if test "x$enable_xinerama" = "xyes"; then 429 if test x$enableval = "xyes"; then
430 AC_MSG_RESULT([yes]) 430 AC_MSG_RESULT([yes])
431 AC_CHECK_LIB(Xinerama, XineramaQueryScreens, 431 AC_CHECK_LIB(Xinerama, XineramaQueryScreens,
432 XINERAMA="-DXINERAMA"; Xinerama_libs="-lXinerama", ) 432 AC_DEFINE(XINERAMA, 1, "Xinerama support")
433else 433 LIBS="$LIBS -lXinerama")
434 AC_MSG_RESULT([no]) 434 else
435fi 435 AC_MSG_RESULT([no])
436AC_SUBST(XINERAMA) 436 fi,
437CXXFLAGS="$CXXFLAGS $XINERAMA"
438 437
439LIBS="$LIBS $Xinerama_libs" 438 AC_MSG_RESULT([no])
439)
440 440
441dnl Determine the return type of signal handlers 441dnl Determine the return type of signal handlers
442AC_TYPE_SIGNAL 442AC_TYPE_SIGNAL