Mercurial > ~mikael > mcabber > hg
comparison mcabber/configure.ac @ 1300:0d4a1699accb
Add OTR check to autoconf
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 30 Aug 2007 00:57:07 +0200 |
parents | eb38963e082f |
children | 887f8801418c |
comparison
equal
deleted
inserted
replaced
1299:3b338a5c01fc | 1300:0d4a1699accb |
---|---|
111 if test x"${enable_gpgme}" != x"no"; then | 111 if test x"${enable_gpgme}" != x"no"; then |
112 AM_PATH_GPGME(1.0.0, AC_DEFINE(HAVE_GPGME, 1, | 112 AM_PATH_GPGME(1.0.0, AC_DEFINE(HAVE_GPGME, 1, |
113 [Define if you use GPGME to support OpenPGP])) | 113 [Define if you use GPGME to support OpenPGP])) |
114 fi | 114 fi |
115 | 115 |
116 # Check for otr | |
117 AC_ARG_ENABLE(otr, [ --enable-otr Enable OTR (Off-the-Record) messaging support], | |
118 enable_otr=$enableval, otr="") | |
119 if test "x$enable_otr" = "xyes"; then | |
120 # Look for libgcrypt and libotr | |
121 AM_PATH_LIBGCRYPT(1.2.2, [ | |
122 AM_PATH_LIBOTR(3.1.0, , | |
123 AC_MSG_ERROR(libotr 3.1.0 or newer is required.)) | |
124 ], AC_MSG_ERROR(libgcrypt 1.2.2 or newer is required.) | |
125 ) | |
126 fi | |
127 | |
116 AC_ARG_WITH(ssl, [ --with-ssl enable SSL secured connections using either OpenSSL | 128 AC_ARG_WITH(ssl, [ --with-ssl enable SSL secured connections using either OpenSSL |
117 or GnuTLS], | 129 or GnuTLS], |
118 [with_ssl=$withval]) | 130 [with_ssl=$withval]) |
119 | 131 |
120 if test "$with_ssl" != "no"; then | 132 if test "$with_ssl" != "no"; then |