Mercurial > hg
comparison mcabber/configure.ac @ 1426:a64778f5f26b
Implement FIFO named command pipe
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 18 Feb 2008 22:59:37 +0100 |
parents | 757ebe4df0b9 |
children | 844410b9b4cc |
comparison
equal
deleted
inserted
replaced
1425:b0cfd9ab4b9f | 1426:a64778f5f26b |
---|---|
225 CFLAGS="$CFLAGS -g" | 225 CFLAGS="$CFLAGS -g" |
226 else | 226 else |
227 CFLAGS="-O2 $CFLAGS" | 227 CFLAGS="-O2 $CFLAGS" |
228 fi | 228 fi |
229 | 229 |
230 AC_ARG_ENABLE(fifo, | |
231 [AC_HELP_STRING(--enable-fifo, Enable FIFO named pipe)], | |
232 fifo=$enableval, fifo="") | |
233 AM_CONDITIONAL([FIFO], [test x$fifo = xyes]) | |
234 if test x"${fifo}" = x"yes"; then | |
235 AC_DEFINE_UNQUOTED([ENABLE_FIFO],[1],[Named pipe support]) | |
236 fi | |
237 | |
230 AC_ARG_ENABLE(hgcset, | 238 AC_ARG_ENABLE(hgcset, |
231 [AC_HELP_STRING(--disable-hgcset, Do not use Mercurial changeset value)], | 239 [AC_HELP_STRING(--disable-hgcset, Do not use Mercurial changeset value)], |
232 hgcset=$enableval, hgcset="yes") | 240 hgcset=$enableval, hgcset="yes") |
233 AM_CONDITIONAL(HGCSET, test x$hgcset = xyes) | 241 AM_CONDITIONAL(HGCSET, [test x$hgcset = xyes]) |
234 if test "${hgcset}" = "yes"; then | 242 if test "${hgcset}" = "yes"; then |
235 AC_DEFINE(ENABLE_HGCSET, 1, [Use Mercurial changeset]) | 243 AC_DEFINE(ENABLE_HGCSET, 1, [Use Mercurial changeset]) |
236 fi | 244 fi |
237 | 245 |
238 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes]) | 246 AM_CONDITIONAL([OTR], [test x$libotr_found = xyes]) |