changeset 1849:1ae3a110d300

Add a configure switch for (obsolete) Message Events [XEP-0022]
author Mikael Berthe <mikael@lilotux.net>
date Thu, 01 Apr 2010 00:07:19 +0200
parents f6e137fe9d6d
children 8d7810f529db
files mcabber/configure.ac
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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="")