]> Dogcows Code - chaz/openbox/blobdiff - configure.in
Fix small compile error on g++3.
[chaz/openbox] / configure.in
index 190c1d695da54c5d4efc7724ded5c68e3ccd6b1b..ba2fecb17ba5fc9858f671f95a0221daa951da4b 100644 (file)
@@ -1,7 +1,7 @@
 dnl configure.in for Openbox
 dnl Initialize autoconf and automake
 AC_INIT(src/blackbox.cc)
-AM_INIT_AUTOMAKE(openbox,2.1.0,no-define)
+AM_INIT_AUTOMAKE(openbox,2.2.0,no-define)
 
 dnl Determine default prefix
 test x$prefix = "xNONE" && prefix="$ac_default_prefix"
@@ -249,6 +249,25 @@ if test x$TIMEDCACHE = "xyes"; then
   AC_DEFINE(TIMEDCACHE,1,Use timed pixmap cache)
 fi
 
+dnl Check for bitmapped buttons
+BITMAPBUTTONS=""
+AC_MSG_CHECKING([whether to include bitmappable buttons])
+AC_ARG_ENABLE(
+  bitmap-buttons,
+[  --enable-bitmap-buttons include bitmappable buttons [default=yes]],
+  if test x$enableval = "xyes"; then
+    AC_MSG_RESULT([yes])
+    BITMAPBUTTONS="yes"
+  else
+    AC_MSG_RESULT([no])
+  fi,
+  AC_MSG_RESULT([yes])
+  BITMAPBUTTONS="yes"
+)
+if test x$BITMAPBUTTONS = "xyes"; then
+  AC_DEFINE(BITMAPBUTTONS,1,Include bitmappable buttons)
+fi
+
 dnl Determine the return type of signal handlers
 AC_TYPE_SIGNAL
 
This page took 0.020509 seconds and 4 git commands to generate.