Mercurial > ~mikael > mcabber > hg
diff mcabber/configure.ac @ 1309:887f8801418c
Only compile otr.c if libotr is available
author | franky@veqlargh.fs |
---|---|
date | Mon, 10 Sep 2007 19:52:43 +0200 |
parents | 0d4a1699accb |
children | 486b4feeddb8 |
line wrap: on
line diff
--- a/mcabber/configure.ac Mon Sep 10 19:52:14 2007 +0200 +++ b/mcabber/configure.ac Mon Sep 10 19:52:43 2007 +0200 @@ -215,6 +215,8 @@ AC_DEFINE(ENABLE_HGCSET, 1, [Use Mercurial changeset]) fi +AM_CONDITIONAL([OTR], [test x$libotr_found = xyes]) + # We need _GNU_SOURCE for strptime() and strcasestr() CFLAGS="$CFLAGS -D_GNU_SOURCE"