diff options
author | fluxgen <fluxgen> | 2003-05-12 04:23:31 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-05-12 04:23:31 (GMT) |
commit | 244c63f4b46469b4ce5879259dafef3d5062c6cd (patch) | |
tree | d1a5abf06ed92783c13c8d19f6d415aaa9004e9f /configure.in | |
parent | a084e737f84b8c0840efdbac13e1af6010f279d9 (diff) | |
download | fluxbox_pavel-244c63f4b46469b4ce5879259dafef3d5062c6cd.zip fluxbox_pavel-244c63f4b46469b4ce5879259dafef3d5062c6cd.tar.bz2 |
added RANDR support
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 4ab70e3..0f74cfc 100644 --- a/configure.in +++ b/configure.in | |||
@@ -2,7 +2,7 @@ dnl configure.in for Fluxbox - created from configure.in Blackbox 0.61.1 | |||
2 | dnl Initialize autoconf and automake | 2 | dnl Initialize autoconf and automake |
3 | AC_INIT(src/main.cc) | 3 | AC_INIT(src/main.cc) |
4 | AC_PREREQ(2.52) | 4 | AC_PREREQ(2.52) |
5 | AM_INIT_AUTOMAKE(fluxbox,0.9.2,no-define) | 5 | AM_INIT_AUTOMAKE(fluxbox,0.9.3,no-define) |
6 | 6 | ||
7 | dnl Determine default prefix | 7 | dnl Determine default prefix |
8 | test x$prefix = "xNONE" && prefix="$ac_default_prefix" | 8 | test x$prefix = "xNONE" && prefix="$ac_default_prefix" |
@@ -104,7 +104,7 @@ AC_ARG_ENABLE( | |||
104 | dnl Check for Remember options | 104 | dnl Check for Remember options |
105 | AC_MSG_CHECKING([whether to include remember functionality]) | 105 | AC_MSG_CHECKING([whether to include remember functionality]) |
106 | AC_ARG_ENABLE( | 106 | AC_ARG_ENABLE( |
107 | remember, [ --enable-remember include code for Remembering attributes [default=yes]], | 107 | remember, [ --enable-remember include code for Remembering attributes [default=yes]], |
108 | if test x$enableval = "xyes"; then | 108 | if test x$enableval = "xyes"; then |
109 | AC_MSG_RESULT([yes]) | 109 | AC_MSG_RESULT([yes]) |
110 | AC_DEFINE(REMEMBER, 1, " compile with remember") | 110 | AC_DEFINE(REMEMBER, 1, " compile with remember") |
@@ -325,6 +325,24 @@ AC_ARG_ENABLE( | |||
325 | ) | 325 | ) |
326 | AM_CONDITIONAL(MULTIBYTE, test x$MULTIBYTE = xtrue) | 326 | AM_CONDITIONAL(MULTIBYTE, test x$MULTIBYTE = xtrue) |
327 | 327 | ||
328 | AC_MSG_CHECKING([whether to have RANDR (The X Resize and Rotate Extension) support]) | ||
329 | AC_ARG_ENABLE( | ||
330 | randr, | ||
331 | [ --enable-randr RANDR (The X Resize and Rotate Extension) support [default=yes]], | ||
332 | if test x$enableval = "xyes"; then | ||
333 | AC_MSG_RESULT([yes]) | ||
334 | AC_CHECK_LIB(Xrandr, XRRQueryExtension, | ||
335 | AC_DEFINE(HAVE_RANDR, 1, "randr support") | ||
336 | LIBS="$LIBS -lXrandr") | ||
337 | else | ||
338 | AC_MSG_RESULT([no]) | ||
339 | fi, | ||
340 | AC_MSG_RESULT([yes]) | ||
341 | AC_CHECK_LIB(Xrandr, XRRQueryExtension, | ||
342 | AC_DEFINE(HAVE_RANDR, 1, "randr support") | ||
343 | LIBS="$LIBS -lXrandr") | ||
344 | ) | ||
345 | |||
328 | dnl Check for Xinerama support | 346 | dnl Check for Xinerama support |
329 | 347 | ||
330 | AC_MSG_CHECKING([whether to build support for the Xinerama extension]) | 348 | AC_MSG_CHECKING([whether to build support for the Xinerama extension]) |