Mercurial > ~mikael > mcabber > hg
diff mcabber/configure.ac @ 781:d3af6877a7df
Add --enable-hgcset to configure script
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 27 Mar 2006 23:42:31 +0200 |
parents | a22665116104 |
children | 23f7e4f47235 |
line wrap: on
line diff
--- a/mcabber/configure.ac Mon Mar 27 23:09:41 2006 +0200 +++ b/mcabber/configure.ac Mon Mar 27 23:42:31 2006 +0200 @@ -109,6 +109,14 @@ CFLAGS="$CFLAGS -O2" fi +AC_ARG_ENABLE(hgcset, + [AC_HELP_STRING(--enable-hgcset, Add Mercurial changeset)], + hgcset=$enableval, hgcset="") +AM_CONDITIONAL(HGCSET, test x$hgcset = xyes) +if test "${hgcset}" = "yes"; then + AC_DEFINE(ENABLE_HGCSET, 1, [Use Mercurial changeset]) +fi + AC_CONFIG_FILES([connwrap/Makefile libjabber/Makefile src/Makefile