dnl configure.in for Openbox
dnl Initialize autoconf and automake
-AC_INIT(src/openbox.cc)
-AM_INIT_AUTOMAKE(openbox,1.0.0,no-define)
+AC_INIT(src/blackbox.cc)
+AM_INIT_AUTOMAKE(openbox,2.0.0,no-define)
dnl Determine default prefix
test x$prefix = "xNONE" && prefix="$ac_default_prefix"
fi
dnl Check for system header files
-AC_HEADER_STDC
-AC_CHECK_HEADERS(ctype.h dirent.h fcntl.h libgen.h locale.h nl_types.h process.h signal.h stdarg.h stdio.h time.h unistd.h sys/param.h sys/select.h sys/signal.h sys/stat.h sys/time.h sys/types.h sys/wait.h)
+AC_CHECK_HEADERS(ctype.h dirent.h fcntl.h libgen.h locale.h nl_types.h process.h signal.h stdarg.h stdio.h string.h stdlib.h time.h unistd.h sys/param.h sys/select.h sys/signal.h sys/stat.h sys/time.h sys/types.h sys/wait.h)
AC_HEADER_TIME
dnl Check for existance of basename(), setlocale() and strftime()
)
AC_SUBST(SLIT)
-dnl Check for the new WM Spec
-NEWWMSPEC=""
-AC_MSG_CHECKING([whether to include the new WM Spec (DOES NOTHING)])
-AC_ARG_ENABLE(
- newspec,
-[ --enable-newspec include code for the new WM Spec (DOES NOTHING)
- [default=no]],
- if test x$enableval = "xyes"; then
- AC_MSG_RESULT([yes])
- NEWWMSPEC="-DNEWWMSPEC"
- else
- AC_MSG_RESULT([no])
- fi,
- AC_MSG_RESULT([no])
-)
-AC_SUBST(NEWWMSPEC)
-
-
-dnl Check for Interlacing
-INTERLACE=""
-AC_MSG_CHECKING([whether to include interlacing image code])
-AC_ARG_ENABLE(
- interlace, [ --enable-interlace include code for image interlacing [default=yes]],
- if test x$enableval = "xyes"; then
- AC_MSG_RESULT([yes])
- INTERLACE="-DINTERLACE"
- else
- AC_MSG_RESULT([no])
- fi,
- AC_MSG_RESULT([yes])
- INTERLACE="-DINTERLACE"
-)
-AC_SUBST(INTERLACE)
-
dnl Check for ordered 8bpp dithering
ORDEREDPSEUDO=""
AC_MSG_CHECKING([whether to include Pseudocolor ordered dithering code])
[ --enable-debug include verbose debugging code [default=no]],
if test x$enableval = "xyes"; then
AC_MSG_RESULT([yes])
- DEBUG="-DDEBUG"
+ DEBUG="-DDEBUG -Wall -W"
else
AC_MSG_RESULT([no])
fi,
data/Makefile
data/styles/Makefile
doc/Makefile
-dnl doc/ja_JP/Makefile
-dnl doc/nl_NL/Makefile
-dnl doc/sl_SI/Makefile
nls/Makefile
nls/C/Makefile
nls/da_DK/Makefile
nls/es_ES/Makefile
nls/et_EE/Makefile
nls/fr_FR/Makefile
+nls/hu_HU/Makefile
nls/it_IT/Makefile
nls/ja_JP/Makefile
nls/nl_NL/Makefile
nls/sl_SI/Makefile
nls/sv_SE/Makefile
nls/tr_TR/Makefile
+nls/uk_UA/Makefile
nls/zh_CN/Makefile
+nls/zh_TW/Makefile
version.h)