diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-09-03 18:00:40 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-09-03 18:00:40 (GMT) |
commit | 27dc136121a6f97c5fbfeec6b642cf091324def4 (patch) | |
tree | 9b3cdd5350ab9252611eea919bcb46d435992e5e /configure.in | |
parent | ba03aaaa33af1f405b91e57aa49958547c5ed39f (diff) | |
download | fluxbox_pavel-27dc136121a6f97c5fbfeec6b642cf091324def4.zip fluxbox_pavel-27dc136121a6f97c5fbfeec6b642cf091324def4.tar.bz2 |
add check to configure script to detect old versions of XrandrRelease-1_1_0_1
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 | ) |