diff options
| author | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-09-14 05:43:57 +0000 |
|---|---|---|
| committer | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-09-14 05:43:57 +0000 |
| commit | e0d619e309a7fe6de1524b2574ecc9d77aee5a35 (patch) | |
| tree | 11f16f66b56955fec23c7c389ab01cd3d22170e8 /configure.in | |
| parent | c196ecd8783e5640380ad1b5f55bcd860abd0c62 (diff) | |
added a configure flag for enabling/disabling bitmap buttons
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 19 |
1 files changed, 19 insertions, 0 deletions
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 |
