summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in22
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
2dnl Initialize autoconf and automake 2dnl Initialize autoconf and automake
3AC_INIT(src/main.cc) 3AC_INIT(src/main.cc)
4AC_PREREQ(2.52) 4AC_PREREQ(2.52)
5AM_INIT_AUTOMAKE(fluxbox,0.9.2,no-define) 5AM_INIT_AUTOMAKE(fluxbox,0.9.3,no-define)
6 6
7dnl Determine default prefix 7dnl Determine default prefix
8test x$prefix = "xNONE" && prefix="$ac_default_prefix" 8test x$prefix = "xNONE" && prefix="$ac_default_prefix"
@@ -104,7 +104,7 @@ AC_ARG_ENABLE(
104dnl Check for Remember options 104dnl Check for Remember options
105AC_MSG_CHECKING([whether to include remember functionality]) 105AC_MSG_CHECKING([whether to include remember functionality])
106AC_ARG_ENABLE( 106AC_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)
326AM_CONDITIONAL(MULTIBYTE, test x$MULTIBYTE = xtrue) 326AM_CONDITIONAL(MULTIBYTE, test x$MULTIBYTE = xtrue)
327 327
328AC_MSG_CHECKING([whether to have RANDR (The X Resize and Rotate Extension) support])
329AC_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
328dnl Check for Xinerama support 346dnl Check for Xinerama support
329 347
330AC_MSG_CHECKING([whether to build support for the Xinerama extension]) 348AC_MSG_CHECKING([whether to build support for the Xinerama extension])