Mercurial > dovecot > core-2.2
changeset 21343:003d74d026f3
configure: Define __STDC_LIMIT_MACROS for CXXFLAGS
Fixes SIZE_MAX being undefined when building fts-lucene.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sun, 18 Dec 2016 22:54:11 +0200 |
parents | 77b037d4b9b8 |
children | 31df6d9d548a |
files | configure.ac |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Sun Dec 18 13:20:39 2016 +0200 +++ b/configure.ac Sun Dec 18 22:54:11 2016 +0200 @@ -318,6 +318,9 @@ AC_PROG_LIBTOOL AM_ICONV +# SIZE_MAX is missing without this +CXXFLAGS="$CXXFLAGS -D__STDC_LIMIT_MACROS" + AC_DEFINE_UNQUOTED(DOVECOT_NAME, "$PACKAGE_NAME", [Dovecot name]) AC_DEFINE_UNQUOTED(DOVECOT_STRING, "$PACKAGE_STRING", [Dovecot string]) AC_DEFINE_UNQUOTED(DOVECOT_VERSION, "$PACKAGE_VERSION", [Dovecot version])