Mercurial > dovecot > core-2.2
annotate dovecot.m4 @ 19602:23bfa269e975
Makefile: Fixed ChangeLog generation with older git versions that don't support --since
Changed the oldest changeset to be the v2.0.0 release commit.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Wed, 20 Jan 2016 19:35:06 +0200 |
parents | a6cd5382373f |
children | b85badda00af |
rev | line source |
---|---|
10753
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
1 # dovecot.m4 - Check presence of dovecot -*-Autoconf-*- |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
2 # |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
3 # Copyright (C) 2010 Dennis Schridde |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
4 # |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
5 # This file is free software; the authors give |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
6 # unlimited permission to copy and/or distribute it, with or without |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
7 # modifications, as long as this notice is preserved. |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
8 |
19571
a6cd5382373f
dovecot-config: Added LIBDOVECOT_{AUTH/POP3/IMAP_LOGIN}_INCLUDE
Timo Sirainen <timo.sirainen@dovecot.fi>
parents:
19378
diff
changeset
|
9 # serial 21 |
12092
711b5f193f04
dovecot.m4: Added --with-moduledir and export dovecotdir
Timo Sirainen <tss@iki.fi>
parents:
11844
diff
changeset
|
10 |
711b5f193f04
dovecot.m4: Added --with-moduledir and export dovecotdir
Timo Sirainen <tss@iki.fi>
parents:
11844
diff
changeset
|
11 AC_DEFUN([DC_DOVECOT_MODULEDIR],[ |
711b5f193f04
dovecot.m4: Added --with-moduledir and export dovecotdir
Timo Sirainen <tss@iki.fi>
parents:
11844
diff
changeset
|
12 AC_ARG_WITH(moduledir, |
711b5f193f04
dovecot.m4: Added --with-moduledir and export dovecotdir
Timo Sirainen <tss@iki.fi>
parents:
11844
diff
changeset
|
13 [ --with-moduledir=DIR Base directory for dynamically loadable modules], |
711b5f193f04
dovecot.m4: Added --with-moduledir and export dovecotdir
Timo Sirainen <tss@iki.fi>
parents:
11844
diff
changeset
|
14 moduledir="$withval", |
711b5f193f04
dovecot.m4: Added --with-moduledir and export dovecotdir
Timo Sirainen <tss@iki.fi>
parents:
11844
diff
changeset
|
15 moduledir=$libdir/dovecot |
711b5f193f04
dovecot.m4: Added --with-moduledir and export dovecotdir
Timo Sirainen <tss@iki.fi>
parents:
11844
diff
changeset
|
16 ) |
711b5f193f04
dovecot.m4: Added --with-moduledir and export dovecotdir
Timo Sirainen <tss@iki.fi>
parents:
11844
diff
changeset
|
17 AC_SUBST(moduledir) |
711b5f193f04
dovecot.m4: Added --with-moduledir and export dovecotdir
Timo Sirainen <tss@iki.fi>
parents:
11844
diff
changeset
|
18 ]) |
11154
9188fc60d615
dovecot.m4: Added serial number.
Timo Sirainen <tss@iki.fi>
parents:
11114
diff
changeset
|
19 |
10753
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
20 AC_DEFUN([DC_PLUGIN_DEPS],[ |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
21 _plugin_deps=yes |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
22 AC_MSG_CHECKING([whether OS supports plugin dependencies]) |
10756
ae23a1a94376
dovecot.m4: Don't use any AS_*() macros.
Timo Sirainen <tss@iki.fi>
parents:
10755
diff
changeset
|
23 case "$host_os" in |
ae23a1a94376
dovecot.m4: Don't use any AS_*() macros.
Timo Sirainen <tss@iki.fi>
parents:
10755
diff
changeset
|
24 darwin*) |
ae23a1a94376
dovecot.m4: Don't use any AS_*() macros.
Timo Sirainen <tss@iki.fi>
parents:
10755
diff
changeset
|
25 # OSX loads the plugins twice, which breaks stuff |
ae23a1a94376
dovecot.m4: Don't use any AS_*() macros.
Timo Sirainen <tss@iki.fi>
parents:
10755
diff
changeset
|
26 _plugin_deps=no |
ae23a1a94376
dovecot.m4: Don't use any AS_*() macros.
Timo Sirainen <tss@iki.fi>
parents:
10755
diff
changeset
|
27 ;; |
ae23a1a94376
dovecot.m4: Don't use any AS_*() macros.
Timo Sirainen <tss@iki.fi>
parents:
10755
diff
changeset
|
28 esac |
10753
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
29 AC_MSG_RESULT([$_plugin_deps]) |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
30 AM_CONDITIONAL([DOVECOT_PLUGIN_DEPS], [test "x$_plugin_deps" = "xyes"]) |
10756
ae23a1a94376
dovecot.m4: Don't use any AS_*() macros.
Timo Sirainen <tss@iki.fi>
parents:
10755
diff
changeset
|
31 unset _plugin_deps |
10753
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
32 ]) |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
33 |
18239
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
34 AC_DEFUN([DC_DOVECOT_TEST_WRAPPER],[ |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
35 AC_CHECK_PROG(VALGRIND, valgrind, yes, no) |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
36 if test $VALGRIND = yes; then |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
37 cat > run-test.sh <<EOF |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
38 #!/bin/sh |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
39 top_srcdir=\$[1] |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
40 shift |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
41 |
18756
2dd8308f5d57
dovecot.m4: If NOVALGRIND environment is set, don't run tests via valgrind in "make check"
Timo Sirainen <tss@iki.fi>
parents:
18246
diff
changeset
|
42 if test "\$NOVALGRIND" != ""; then |
18757
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
43 \$[*] |
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
44 ret=\$? |
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
45 else |
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
46 trap "rm -f test.out.\$\$" 0 1 2 3 15 |
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
47 supp_path="\$top_srcdir/run-test-valgrind.supp" |
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
48 if test -r "\$supp_path"; then |
19368
923935a77ca8
dovecot.m4: Run valgrind with --trace-children=yes
Timo Sirainen <tss@iki.fi>
parents:
19366
diff
changeset
|
49 valgrind -q --trace-children=yes --leak-check=full --suppressions="\$supp_path" --log-file=test.out.\$\$ \$[*] |
18757
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
50 else |
19368
923935a77ca8
dovecot.m4: Run valgrind with --trace-children=yes
Timo Sirainen <tss@iki.fi>
parents:
19366
diff
changeset
|
51 valgrind -q --trace-children=yes --leak-check=full --log-file=test.out.\$\$ \$[*] |
18757
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
52 fi |
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
53 ret=\$? |
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
54 if test -s test.out.\$\$; then |
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
55 cat test.out.\$\$ |
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
56 ret=1 |
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
57 fi |
18756
2dd8308f5d57
dovecot.m4: If NOVALGRIND environment is set, don't run tests via valgrind in "make check"
Timo Sirainen <tss@iki.fi>
parents:
18246
diff
changeset
|
58 fi |
18757
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
59 if test \$ret != 0; then |
5e523f0bbdf8
dovecot.m4: If run-test.sh fails, print the failing command to stderr.
Timo Sirainen <tss@iki.fi>
parents:
18756
diff
changeset
|
60 echo "Failed to run: \$[*]" >&2 |
18239
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
61 fi |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
62 exit \$ret |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
63 EOF |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
64 RUN_TEST='$(SHELL) $(top_builddir)/run-test.sh $(top_srcdir)' |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
65 else |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
66 RUN_TEST='' |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
67 fi |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
68 AC_SUBST(RUN_TEST) |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
69 ]) |
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
70 |
10753
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
71 # Substitute every var in the given comma seperated list |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
72 AC_DEFUN([AX_SUBST_L],[ |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
73 m4_foreach([__var__], [$@], [AC_SUBST(__var__)]) |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
74 ]) |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
75 |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
76 AC_DEFUN([DC_DOVECOT],[ |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
77 AC_ARG_WITH(dovecot, |
10756
ae23a1a94376
dovecot.m4: Don't use any AS_*() macros.
Timo Sirainen <tss@iki.fi>
parents:
10755
diff
changeset
|
78 [ --with-dovecot=DIR Dovecot base directory], |
10755
912c132337ed
dovecot.m4: Default dovecotdir to $prefix/lib/dovecot/
Timo Sirainen <tss@iki.fi>
parents:
10753
diff
changeset
|
79 [ dovecotdir="$withval" ], [ |
912c132337ed
dovecot.m4: Default dovecotdir to $prefix/lib/dovecot/
Timo Sirainen <tss@iki.fi>
parents:
10753
diff
changeset
|
80 dc_prefix=$prefix |
912c132337ed
dovecot.m4: Default dovecotdir to $prefix/lib/dovecot/
Timo Sirainen <tss@iki.fi>
parents:
10753
diff
changeset
|
81 test "x$dc_prefix" = xNONE && dc_prefix=$ac_default_prefix |
912c132337ed
dovecot.m4: Default dovecotdir to $prefix/lib/dovecot/
Timo Sirainen <tss@iki.fi>
parents:
10753
diff
changeset
|
82 dovecotdir="$dc_prefix/lib/dovecot" |
912c132337ed
dovecot.m4: Default dovecotdir to $prefix/lib/dovecot/
Timo Sirainen <tss@iki.fi>
parents:
10753
diff
changeset
|
83 ] |
10753
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
84 ) |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
85 |
14730
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
86 AC_ARG_WITH(dovecot-install-dirs, |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
87 [AC_HELP_STRING([--with-dovecot-install-dirs], |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
88 [Use install directories configured for Dovecot (default)])], |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
89 if test x$withval = xno; then |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
90 use_install_dirs=no |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
91 else |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
92 use_install_dirs=yes |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
93 fi, |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
94 use_install_dirs=yes) |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
95 |
17177
45dd96eb4139
dovecot.m4: Minor message improvement.
Timo Sirainen <tss@iki.fi>
parents:
16141
diff
changeset
|
96 AC_MSG_CHECKING([for "$dovecotdir/dovecot-config"]) |
10756
ae23a1a94376
dovecot.m4: Don't use any AS_*() macros.
Timo Sirainen <tss@iki.fi>
parents:
10755
diff
changeset
|
97 if test -f "$dovecotdir/dovecot-config"; then |
10753
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
98 AC_MSG_RESULT([$dovecotdir/dovecot-config]) |
10756
ae23a1a94376
dovecot.m4: Don't use any AS_*() macros.
Timo Sirainen <tss@iki.fi>
parents:
10755
diff
changeset
|
99 else |
10753
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
100 AC_MSG_RESULT([not found]) |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
101 AC_MSG_NOTICE([]) |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
102 AC_MSG_NOTICE([Use --with-dovecot=DIR to provide the path to the dovecot-config file.]) |
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
103 AC_MSG_ERROR([dovecot-config not found]) |
10756
ae23a1a94376
dovecot.m4: Don't use any AS_*() macros.
Timo Sirainen <tss@iki.fi>
parents:
10755
diff
changeset
|
104 fi |
10753
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
105 |
14730
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
106 old=`pwd` |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
107 cd $dovecotdir |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
108 abs_dovecotdir=`pwd` |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
109 cd $old |
16141
cd3482684bd2
dovecot.m4: Reverted last change with added comments.
Timo Sirainen <tss@iki.fi>
parents:
16138
diff
changeset
|
110 DISTCHECK_CONFIGURE_FLAGS="--with-dovecot=$abs_dovecotdir --without-dovecot-install-dirs" |
14730
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
111 |
12717
816a6e69d4b5
dovecot-config, dovecot.m4: Export SQL_LIBS as DOVECOT_SQL_LIBS
Timo Sirainen <tss@iki.fi>
parents:
12092
diff
changeset
|
112 eval `grep -i '^dovecot_[[a-z_]]*=' "$dovecotdir"/dovecot-config` |
19571
a6cd5382373f
dovecot-config: Added LIBDOVECOT_{AUTH/POP3/IMAP_LOGIN}_INCLUDE
Timo Sirainen <timo.sirainen@dovecot.fi>
parents:
19378
diff
changeset
|
113 eval `grep '^LIBDOVECOT[[A-Z0-9_]]*=' "$dovecotdir"/dovecot-config` |
14730
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
114 |
18246
16c21c12e21f
dovecot-config: Added DOVECOT_INSTALLED parameter.
Timo Sirainen <tss@iki.fi>
parents:
18245
diff
changeset
|
115 dovecot_installed_moduledir="$dovecot_moduledir" |
16c21c12e21f
dovecot-config: Added DOVECOT_INSTALLED parameter.
Timo Sirainen <tss@iki.fi>
parents:
18245
diff
changeset
|
116 |
14730
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
117 if test "$use_install_dirs" = "no"; then |
16141
cd3482684bd2
dovecot.m4: Reverted last change with added comments.
Timo Sirainen <tss@iki.fi>
parents:
16138
diff
changeset
|
118 # the main purpose of these is to fix make distcheck for plugins |
cd3482684bd2
dovecot.m4: Reverted last change with added comments.
Timo Sirainen <tss@iki.fi>
parents:
16138
diff
changeset
|
119 # other than that, they don't really make much sense |
14730
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
120 dovecot_pkgincludedir='$(pkgincludedir)' |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
121 dovecot_pkglibdir='$(pkglibdir)' |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
122 dovecot_pkglibexecdir='$(libexecdir)/dovecot' |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
123 dovecot_docdir='$(docdir)' |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
124 dovecot_moduledir='$(moduledir)' |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
125 fi |
73ce16df6b16
dovecot.m4: Updates from Pigeonhole
Timo Sirainen <tss@iki.fi>
parents:
14729
diff
changeset
|
126 |
18246
16c21c12e21f
dovecot-config: Added DOVECOT_INSTALLED parameter.
Timo Sirainen <tss@iki.fi>
parents:
18245
diff
changeset
|
127 AX_SUBST_L([DISTCHECK_CONFIGURE_FLAGS], [dovecotdir], [dovecot_moduledir], [dovecot_installed_moduledir], [dovecot_pkgincludedir], [dovecot_pkglibexecdir], [dovecot_pkglibdir], [dovecot_docdir]) |
16c21c12e21f
dovecot-config: Added DOVECOT_INSTALLED parameter.
Timo Sirainen <tss@iki.fi>
parents:
18245
diff
changeset
|
128 AX_SUBST_L([DOVECOT_INSTALLED], [DOVECOT_CFLAGS], [DOVECOT_LIBS], [DOVECOT_SSL_LIBS], [DOVECOT_SQL_LIBS], [DOVECOT_COMPRESS_LIBS]) |
19378
ea447bc283e1
dovecot-config: Added LIBFTS.
Teemu Huovila <teemu.huovila@dovecot.fi>
parents:
19368
diff
changeset
|
129 AX_SUBST_L([LIBDOVECOT], [LIBDOVECOT_LOGIN], [LIBDOVECOT_SQL], [LIBDOVECOT_SSL], [LIBDOVECOT_COMPRESS], [LIBDOVECOT_LDA], [LIBDOVECOT_STORAGE], [LIBDOVECOT_DSYNC], [LIBDOVECOT_LIBFTS]) |
ea447bc283e1
dovecot-config: Added LIBFTS.
Teemu Huovila <teemu.huovila@dovecot.fi>
parents:
19368
diff
changeset
|
130 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]) |
19571
a6cd5382373f
dovecot-config: Added LIBDOVECOT_{AUTH/POP3/IMAP_LOGIN}_INCLUDE
Timo Sirainen <timo.sirainen@dovecot.fi>
parents:
19378
diff
changeset
|
131 AX_SUBST_L([LIBDOVECOT_INCLUDE], [LIBDOVECOT_LDA_INCLUDE], [LIBDOVECOT_AUTH_INCLUDE], [LIBDOVECOT_DOVEADM_INCLUDE], [LIBDOVECOT_SERVICE_INCLUDE], [LIBDOVECOT_STORAGE_INCLUDE], [LIBDOVECOT_LOGIN_INCLUDE], [LIBDOVECOT_IMAP_LOGIN_INCLUDE], [LIBDOVECOT_CONFIG_INCLUDE], [LIBDOVECOT_IMAP_INCLUDE], [LIBDOVECOT_POP3_INCLUDE], [LIBDOVECOT_DSYNC_INCLUDE], [LIBDOVECOT_IMAPC_INCLUDE], [LIBDOVECOT_FTS_INCLUDE], [LIBDOVECOT_NOTIFY_INCLUDE], [LIBDOVECOT_ACL_INCLUDE], [LIBDOVECOT_LIBFTS_INCLUDE]) |
10753
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
132 |
18246
16c21c12e21f
dovecot-config: Added DOVECOT_INSTALLED parameter.
Timo Sirainen <tss@iki.fi>
parents:
18245
diff
changeset
|
133 AM_CONDITIONAL(DOVECOT_INSTALLED, test "$DOVECOT_INSTALLED" = "yes") |
16c21c12e21f
dovecot-config: Added DOVECOT_INSTALLED parameter.
Timo Sirainen <tss@iki.fi>
parents:
18245
diff
changeset
|
134 |
10753
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
135 DC_PLUGIN_DEPS |
18239
d938a49c2045
dovecot.m4: External plugins can now more easily run their tests via Valgrind.
Timo Sirainen <tss@iki.fi>
parents:
17801
diff
changeset
|
136 DC_DOVECOT_TEST_WRAPPER |
10753
80a11f8650a4
Added dovecot.m4 file that external plugins can use.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
137 ]) |