]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
m4, dovecot-config: Add LIBDOVECOT_LUA_INCLUDE
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 21 May 2021 13:23:36 +0000 (16:23 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 25 May 2021 11:42:37 +0000 (11:42 +0000)
This allows building plugins that use lib-lua against uninstalled Dovecot
source code tree.

dovecot-config.in.in
m4/dovecot.m4

index 088c9af4b47bcb834931a325fc0727c7224be85a..8f84ea4be09b1e1e6f8db030ad8b1b583290e3e5 100644 (file)
@@ -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=
index 685cd1df2cee0d5b61968259cde5182def9b1e79..037d5e40e673b564c6f4c52d72bfd6d4cebea359 100644 (file)
@@ -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")