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