X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=configure.in;h=ba2fecb17ba5fc9858f671f95a0221daa951da4b;hb=c2afc72a41a4093f1fdfdf3245d5d70ef8bf9ad2;hp=190c1d695da54c5d4efc7724ded5c68e3ccd6b1b;hpb=923c381dc177aa64b1da847ae6a27bff19ec817c;p=chaz%2Fopenbox diff --git a/configure.in b/configure.in index 190c1d69..ba2fecb1 100644 --- a/configure.in +++ b/configure.in @@ -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