Mercurial > hg
diff mcabber/configure.ac @ 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 | a09eddfdb6e8 |
children | 668657be02ba |
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="")