Mercurial > ~mikael > mcabber > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
1848:f6e137fe9d6d | 1849:1ae3a110d300 |
---|---|
232 fi | 232 fi |
233 | 233 |
234 # Export $libexecdir to the source tree | 234 # Export $libexecdir to the source tree |
235 AC_DEFINE_DIR(PKGLIB_DIR, "${libdir}/${PACKAGE}", [Modules directory]) | 235 AC_DEFINE_DIR(PKGLIB_DIR, "${libdir}/${PACKAGE}", [Modules directory]) |
236 | 236 |
237 AC_ARG_ENABLE(xep0022, | |
238 AC_HELP_STRING([--enable-xep0022], | |
239 [enable obsolete Message Events (XEP-0022)]), | |
240 xep0022=$enableval) | |
241 if test "${xep0022}" = "yes"; then | |
242 AC_DEFINE([XEP0022], 1, [Define if you want obsolete Message Events]) | |
243 fi | |
244 | |
237 AC_ARG_ENABLE(debug, | 245 AC_ARG_ENABLE(debug, |
238 AC_HELP_STRING([--enable-debug], [add development compilation options]), | 246 AC_HELP_STRING([--enable-debug], [add development compilation options]), |
239 debug=$enableval, debug="") | 247 debug=$enableval, debug="") |
240 if test x"${debug}" = x"yes"; then | 248 if test x"${debug}" = x"yes"; then |
241 AC_DEFINE_UNQUOTED([ENABLE_DEBUG],[1],[Devel compilation options]) | 249 AC_DEFINE_UNQUOTED([ENABLE_DEBUG],[1],[Devel compilation options]) |