Add a configure switch for (obsolete) Message Events [XEP-0022]
authorMikael Berthe <mikael@lilotux.net>
Thu, 01 Apr 2010 00:07:19 +0200
changeset 1849 1ae3a110d300
parent 1848 f6e137fe9d6d
child 1850 8d7810f529db
Add a configure switch for (obsolete) Message Events [XEP-0022]
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="")