--- 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="")