diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 22 |
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( | |||
423 | dnl Check for Xinerama support | 423 | dnl Check for Xinerama support |
424 | 424 | ||
425 | AC_MSG_CHECKING([whether to build support for the Xinerama extension]) | 425 | AC_MSG_CHECKING([whether to build support for the Xinerama extension]) |
426 | AC_ARG_ENABLE(xinerama, | 426 | AC_ARG_ENABLE( |
427 | [ --enable-xinerama enable xinerama extension [default=no]], , [enable_xinerama=no]) | 427 | xinerama, |
428 | 428 | [ --enable-xinerama enable xinerama extension [default=no]], | |
429 | if 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") |
433 | else | 433 | LIBS="$LIBS -lXinerama") |
434 | AC_MSG_RESULT([no]) | 434 | else |
435 | fi | 435 | AC_MSG_RESULT([no]) |
436 | AC_SUBST(XINERAMA) | 436 | fi, |
437 | CXXFLAGS="$CXXFLAGS $XINERAMA" | ||
438 | 437 | ||
439 | LIBS="$LIBS $Xinerama_libs" | 438 | AC_MSG_RESULT([no]) |
439 | ) | ||
440 | 440 | ||
441 | dnl Determine the return type of signal handlers | 441 | dnl Determine the return type of signal handlers |
442 | AC_TYPE_SIGNAL | 442 | AC_TYPE_SIGNAL |