diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 7fbe805..73662ae 100644 --- a/configure.in +++ b/configure.in | |||
@@ -494,6 +494,22 @@ AC_ARG_ENABLE( | |||
494 | LIBS="$LIBS -lXrandr") | 494 | LIBS="$LIBS -lXrandr") |
495 | ) | 495 | ) |
496 | 496 | ||
497 | AC_MSG_CHECKING([whether to have RANDR 1.2 support]) | ||
498 | AC_ARG_ENABLE( | ||
499 | randr1.2, | ||
500 | [ --enable-randr1.2 RANDR 1.2 support ([default=yes])], | ||
501 | if test x$enableval = "xyes"; then | ||
502 | AC_MSG_RESULT([yes]) | ||
503 | AC_CHECK_LIB(Xrandr, XRRUpdateConfiguration, | ||
504 | AC_DEFINE(HAVE_RANDR1_2, 1, "randr 1.2 support")) | ||
505 | else | ||
506 | AC_MSG_RESULT([no]) | ||
507 | fi, | ||
508 | AC_MSG_RESULT([yes]) | ||
509 | AC_CHECK_LIB(Xrandr, XRRUpdateConfiguration, | ||
510 | AC_DEFINE(HAVE_RANDR1_2, 1, "randr 1.2 support")) | ||
511 | ) | ||
512 | |||
497 | dnl Check for Xinerama support | 513 | dnl Check for Xinerama support |
498 | 514 | ||
499 | AC_MSG_CHECKING([whether to build support for the Xinerama extension]) | 515 | AC_MSG_CHECKING([whether to build support for the Xinerama extension]) |
@@ -549,7 +565,7 @@ AC_SUBST(DEFAULT_KEYS) | |||
549 | 565 | ||
550 | AC_ARG_WITH( | 566 | AC_ARG_WITH( |
551 | apps, | 567 | apps, |
552 | [ --with-apps=path location apps file (PREFIX/share/fluxbox/apps)], | 568 | [ --with-apps=path location apps file (PREFIX/share/fluxbox/apps)], |
553 | DEFAULT_APPS=$with_apps, | 569 | DEFAULT_APPS=$with_apps, |
554 | DEFAULT_APPS=\$\(prefix\)/share/fluxbox/apps | 570 | DEFAULT_APPS=\$\(prefix\)/share/fluxbox/apps |
555 | ) | 571 | ) |
@@ -557,7 +573,7 @@ AC_SUBST(DEFAULT_APPS) | |||
557 | 573 | ||
558 | AC_ARG_WITH( | 574 | AC_ARG_WITH( |
559 | overlay, | 575 | overlay, |
560 | [ --with-overlay=path location overlay file (PREFIX/share/fluxbox/overlay)], | 576 | [ --with-overlay=path location overlay file (PREFIX/share/fluxbox/overlay)], |
561 | DEFAULT_OVERLAY=$with_overlay, | 577 | DEFAULT_OVERLAY=$with_overlay, |
562 | DEFAULT_OVERLAY=\$\(prefix\)/share/fluxbox/overlay | 578 | DEFAULT_OVERLAY=\$\(prefix\)/share/fluxbox/overlay |
563 | ) | 579 | ) |