# HG changeset patch # User Mikael Berthe # Date 1270073239 -7200 # Node ID 1ae3a110d3002303f09bb75128b041f7ff563c82 # Parent f6e137fe9d6d38d96d62adf212b3335aad2b385b Add a configure switch for (obsolete) Message Events [XEP-0022] diff -r f6e137fe9d6d -r 1ae3a110d300 mcabber/configure.ac --- a/mcabber/configure.ac Wed Mar 31 22:05:12 2010 +0200 +++ b/mcabber/configure.ac Thu Apr 01 00:07:19 2010 +0200 @@ -234,6 +234,14 @@ # Export $libexecdir to the source tree AC_DEFINE_DIR(PKGLIB_DIR, "${libdir}/${PACKAGE}", [Modules directory]) +AC_ARG_ENABLE(xep0022, + AC_HELP_STRING([--enable-xep0022], + [enable obsolete Message Events (XEP-0022)]), + xep0022=$enableval) +if test "${xep0022}" = "yes"; then + AC_DEFINE([XEP0022], 1, [Define if you want obsolete Message Events]) +fi + AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [add development compilation options]), debug=$enableval, debug="")