diff options
author | fluxgen <fluxgen> | 2004-02-28 17:09:52 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-02-28 17:09:52 (GMT) |
commit | 4614f99b88b010dd49e9b352add1a83ea64f7f2a (patch) | |
tree | b55bc86d2e8969648d40b361b9094f9c4fd3d875 /configure.in | |
parent | 5e9e55e7ff875835ab303a64dd806e26fd2c5433 (diff) | |
download | fluxbox-4614f99b88b010dd49e9b352add1a83ea64f7f2a.zip fluxbox-4614f99b88b010dd49e9b352add1a83ea64f7f2a.tar.bz2 |
fixed xinerama option
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 |