From e0d619e309a7fe6de1524b2574ecc9d77aee5a35 Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Sat, 14 Sep 2002 05:43:57 +0000 Subject: added a configure flag for enabling/disabling bitmap buttons --- configure.in | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 016dc9b2..5e490070 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 -- cgit v1.2.3