summaryrefslogtreecommitdiff
path: root/mail/courier/files/patch-courier__module.esmtp__configure
blob: 42df669e981507d6ea59bbe1da17eb770efe7817 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- courier/module.esmtp/configure.orig	2021-05-23 09:20:27.435950000 +0200
+++ courier/module.esmtp/configure	2021-05-23 09:03:40.994588000 +0200
@@ -661,6 +661,7 @@
 PKG_CONFIG_LIBDIR
 PKG_CONFIG_PATH
 PKG_CONFIG
+certsdir
 COURIERAUTHCONFIG
 CPP
 LT_SYS_LIBRARY_PATH
@@ -788,6 +789,7 @@
 with_gnu_ld
 with_sysroot
 enable_libtool_lock
+with_certsdir
 with_mailuser
 with_mailgroup
 with_piddir
@@ -1455,6 +1457,7 @@
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
                           compiler's sysroot if not specified).
+ --with-certsdir Directory where certs are created
 
   --with-piddir         Directory where PID files are located
   --with-shellpath=path   Initialize PATH to path for .courier programs
@@ -12332,6 +12335,17 @@
 then
 	as_fn_error $? "courierauthconfig not found" "$LINENO" 5
 fi
+
+
+# Check whether --with-certsdir was given.
+if test "${with_certsdir+set}" = set; then :
+  withval=$with_certsdir; certsdir="$withval"
+else
+  certsdir="$datadir"
+fi
+
+
+