From: Timo Sirainen Date: Fri, 21 May 2021 13:23:36 +0000 (+0300) Subject: m4, dovecot-config: Add LIBDOVECOT_LUA_INCLUDE X-Git-Tag: 2.3.16~98 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=02363cfb7b02ceccb577346cc631aee1726e13b5;p=thirdparty%2Fdovecot%2Fcore.git m4, dovecot-config: Add LIBDOVECOT_LUA_INCLUDE This allows building plugins that use lib-lua against uninstalled Dovecot source code tree. --- diff --git a/dovecot-config.in.in b/dovecot-config.in.in index 088c9af4b4..8f84ea4be0 100644 --- a/dovecot-config.in.in +++ b/dovecot-config.in.in @@ -48,6 +48,7 @@ LIBDOVECOT_NOTIFY_INCLUDE="-I$(incdir)/src/plugins/notify" LIBDOVECOT_PUSH_NOTIFICATION_INCLUDE="-I$(incdir)/src/plugins/push-notification" LIBDOVECOT_ACL_INCLUDE="-I$(incdir)/src/plugins/acl" LIBDOVECOT_LIBFTS_INCLUDE="-I$(incdir)/src/lib-fts" +LIBDOVECOT_LUA_INCLUDE="-I$(incdir)/src/lib-lua" dovecot_pkgincludedir= dovecot_pkglibdir= diff --git a/m4/dovecot.m4 b/m4/dovecot.m4 index 685cd1df2c..037d5e40e6 100644 --- a/m4/dovecot.m4 +++ b/m4/dovecot.m4 @@ -6,7 +6,7 @@ dnl This file is free software; the authors give dnl unlimited permission to copy and/or distribute it, with or without dnl modifications, as long as this notice is preserved. -# serial 33 +# serial 34 dnl dnl Check for support for D_FORTIFY_SOURCE=2 @@ -430,7 +430,7 @@ AC_DEFUN([DC_DOVECOT],[ AX_SUBST_L([LIBDOVECOT_DEPS], [LIBDOVECOT_LOGIN_DEPS], [LIBDOVECOT_SQL_DEPS], [LIBDOVECOT_SSL_DEPS], [LIBDOVECOT_COMPRESS_DEPS], [LIBDOVECOT_LDA_DEPS], [LIBDOVECOT_STORAGE_DEPS], [LIBDOVECOT_DSYNC_DEPS], [LIBDOVECOT_LIBFTS_DEPS]) AX_SUBST_L([LIBDOVECOT_INCLUDE], [LIBDOVECOT_LDA_INCLUDE], [LIBDOVECOT_AUTH_INCLUDE], [LIBDOVECOT_DOVEADM_INCLUDE], [LIBDOVECOT_SERVICE_INCLUDE], [LIBDOVECOT_STORAGE_INCLUDE], [LIBDOVECOT_LOGIN_INCLUDE], [LIBDOVECOT_SQL_INCLUDE]) AX_SUBST_L([LIBDOVECOT_IMAP_LOGIN_INCLUDE], [LIBDOVECOT_CONFIG_INCLUDE], [LIBDOVECOT_IMAP_INCLUDE], [LIBDOVECOT_POP3_INCLUDE], [LIBDOVECOT_SUBMISSION_INCLUDE], [LIBDOVECOT_LMTP_INCLUDE], [LIBDOVECOT_DSYNC_INCLUDE], [LIBDOVECOT_IMAPC_INCLUDE], [LIBDOVECOT_FTS_INCLUDE]) - AX_SUBST_L([LIBDOVECOT_NOTIFY_INCLUDE], [LIBDOVECOT_PUSH_NOTIFICATION_INCLUDE], [LIBDOVECOT_ACL_INCLUDE], [LIBDOVECOT_LIBFTS_INCLUDE]) + AX_SUBST_L([LIBDOVECOT_NOTIFY_INCLUDE], [LIBDOVECOT_PUSH_NOTIFICATION_INCLUDE], [LIBDOVECOT_ACL_INCLUDE], [LIBDOVECOT_LIBFTS_INCLUDE], [LIBDOVECOT_LUA_INCLUDE]) AX_SUBST_L([DOVECOT_LUA_LIBS], [DOVECOT_LUA_CFLAGS], [LIBDOVECOT_LUA], [LIBDOVECOT_LUA_DEPS]) AM_CONDITIONAL(DOVECOT_INSTALLED, test "$DOVECOT_INSTALLED" = "yes")