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"
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
nls/pt_BR/Makefile
nls/ro_RO/Makefile
nls/ru_RU/Makefile
+nls/sk_SK/Makefile
nls/sl_SI/Makefile
nls/sv_SE/Makefile
nls/tr_TR/Makefile