comparison 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
comparison
equal deleted inserted replaced
1308:b17754d9221b 1309:887f8801418c
213 AM_CONDITIONAL(HGCSET, test x$hgcset = xyes) 213 AM_CONDITIONAL(HGCSET, test x$hgcset = xyes)
214 if test "${hgcset}" = "yes"; then 214 if test "${hgcset}" = "yes"; then
215 AC_DEFINE(ENABLE_HGCSET, 1, [Use Mercurial changeset]) 215 AC_DEFINE(ENABLE_HGCSET, 1, [Use Mercurial changeset])
216 fi 216 fi
217 217
218 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes])
219
218 # We need _GNU_SOURCE for strptime() and strcasestr() 220 # We need _GNU_SOURCE for strptime() and strcasestr()
219 CFLAGS="$CFLAGS -D_GNU_SOURCE" 221 CFLAGS="$CFLAGS -D_GNU_SOURCE"
220 222
221 AC_CONFIG_FILES([connwrap/Makefile 223 AC_CONFIG_FILES([connwrap/Makefile
222 libjabber/Makefile 224 libjabber/Makefile