comparison mcabber/configure.ac @ 2076:9fb1ccf291cc

Switch to libotr v4 API Patch merged from isbear's mcabber-patches repository (Mikael)
author Myhailo Danylenko <isbear@ukrpost.net>
date Wed, 15 May 2013 13:32:42 +0300
parents 710654b6b85f
children f81b4a97afaa
comparison
equal deleted inserted replaced
2075:f52b47f29ca0 2076:9fb1ccf291cc
182 [Define if you use GPGME to support OpenPGP])) 182 [Define if you use GPGME to support OpenPGP]))
183 fi 183 fi
184 184
185 # Check for otr 185 # Check for otr
186 AC_ARG_ENABLE(otr, 186 AC_ARG_ENABLE(otr,
187 AC_HELP_STRING([--enable-otr], 187 AC_HELP_STRING([--enable-otr],
188 [enable OTR (Off-the-Record) messaging support]), 188 [enable OTR (Off-the-Record) messaging support]),
189 enable_otr=$enableval, otr="") 189 enable_otr=$enableval,
190 otr="")
190 if test "x$enable_otr" = "xyes"; then 191 if test "x$enable_otr" = "xyes"; then
191 # Look for libgcrypt and libotr 192 # Look for libgcrypt and libotr
192 AM_PATH_LIBGCRYPT(1.2.2, [ 193 AM_PATH_LIBGCRYPT(1.2.2, [
193 AM_PATH_LIBOTR(3.1.0, , 194 AM_PATH_LIBOTR(4.0.0, [
194 AC_MSG_ERROR(libotr 3.1.0 or newer is required.)) 195 AC_DEFINE([HAVE_LIBOTR], 1, [Define if you use libotr])
195 ], AC_MSG_ERROR(libgcrypt 1.2.2 or newer is required.) 196 ], [
196 ) 197 AM_PATH_LIBOTR(3.1.0, [
198 AC_DEFINE([HAVE_LIBOTR], 1, [Define if you use libotr])
199 AC_DEFINE([HAVE_LIBOTR3], 1, [Define if you use libotr v3])
200 ], [
201 AC_MSG_ERROR(libotr 3.1.0 or newer is required.)
202 ])
203 ])
204 ], [
205 AC_MSG_ERROR(libgcrypt 1.2.2 or newer is required.)
206 ])
197 fi 207 fi
198 208
199 # Check for Enchant stuff 209 # Check for Enchant stuff
200 AC_ARG_ENABLE(enchant, 210 AC_ARG_ENABLE(enchant,
201 AC_HELP_STRING([--enable-enchant], [enable enchant support]), 211 AC_HELP_STRING([--enable-enchant], [enable enchant support]),
288 doc/guide/Makefile 298 doc/guide/Makefile
289 doc/help/Makefile 299 doc/help/Makefile
290 mcabber.pc 300 mcabber.pc
291 Makefile]) 301 Makefile])
292 AC_OUTPUT 302 AC_OUTPUT
303 dnl vim: set expandtab cindent cinoptions=>2\:2(0 sw=2 ts=2: For Vim users...