<p>Joshua Colp <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/8846">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Joshua Colp: Looks good to me, but someone else must approve; Approved for Submit
  Kevin Harwell: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BuildSystem: Enable IMAP storage on FreeBSD and DragonFly BSD.<br><br>ASTERISK-27639<br><br>Change-Id: I1347f3f2f3737010d0a80a5c30b5aaf71cf3ccb0<br>---<br>M configure<br>M configure.ac<br>2 files changed, 132 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/configure b/configure<br>index d8aebc7..7c52cf1 100755<br>--- a/configure<br>+++ b/configure<br>@@ -21769,6 +21769,78 @@<br> fi<br> rm -f core conftest.err conftest.$ac_objext \<br>     conftest$ac_exeext conftest.$ac_ext<br>+                   if test "${ac_cv_imap_tk}" = "no"; then<br>+                          imap_libs="-lcrypto -lssl -lc-client4"<br>+                             LIBS="${saved_libs} ${imap_libs} "`echo ${imap_ldflags}`<br>+                           cat confdefs.h - <<_ACEOF >conftest.$ac_ext<br>+/* end confdefs.h.  */<br>+#include <stdio.h><br>+                                             #include <c-client/c-client.h><br>+                                         void mm_searched (MAILSTREAM *stream,unsigned long number)<br>+                                           {<br>+                                            }<br>+                                            void mm_exists (MAILSTREAM *stream,unsigned long number)<br>+                                             {<br>+                                            }<br>+                                            void mm_expunged (MAILSTREAM *stream,unsigned long number)<br>+                                           {<br>+                                            }<br>+                                            void mm_flags (MAILSTREAM *stream,unsigned long number)<br>+                                              {<br>+                                            }<br>+                                            void mm_notify (MAILSTREAM *stream,char *string,long errflg)<br>+                                         {<br>+                                            }<br>+                                            void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)<br>+                                                {<br>+                                            }<br>+                                            void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)<br>+                                                {<br>+                                            }<br>+                                            void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status)<br>+                                         {<br>+                                            }<br>+                                            void mm_log (char *string,long errflg)<br>+                                               {<br>+                                            }<br>+                                            void mm_dlog (char *string)<br>+                                          {<br>+                                            }<br>+                                            void mm_login (NETMBX *mb,char *user,char *pwd,long trial)<br>+                                           {<br>+                                            }<br>+                                            void mm_critical (MAILSTREAM *stream)<br>+                                                {<br>+                                            }<br>+                                            void mm_nocritical (MAILSTREAM *stream)<br>+                                              {<br>+                                            }<br>+                                            long mm_diskerror (MAILSTREAM *stream,long errcode,long serious)<br>+                                             {<br>+                                            }<br>+                                            void mm_fatal (char *string)<br>+                                         {<br>+                                            }<br>+int<br>+main ()<br>+{<br>+<br>+                                             MAILSTREAM *foo = mail_open(NULL, "", 0);<br>+<br>+<br>+  ;<br>+  return 0;<br>+}<br>+_ACEOF<br>+if ac_fn_c_try_link "$LINENO"; then :<br>+  ac_cv_imap_tk="yes"<br>+else<br>+  ac_cv_imap_tk="no"<br>+<br>+fi<br>+rm -f core conftest.err conftest.$ac_objext \<br>+    conftest$ac_exeext conftest.$ac_ext<br>+                     fi<br>                    if test "${ac_cv_imap_tk}" = "yes"; then<br>                          cat confdefs.h - <<_ACEOF >conftest.$ac_ext<br> /* end confdefs.h.  */<br>diff --git a/configure.ac b/configure.ac<br>index 61db0e2..1bd8205 100644<br>--- a/configure.ac<br>+++ b/configure.ac<br>@@ -2041,6 +2041,66 @@<br>                                [ac_cv_imap_tk="yes"],<br>                              [ac_cv_imap_tk="no"]<br>                        )<br>+                    if test "${ac_cv_imap_tk}" = "no"; then<br>+                          imap_libs="-lcrypto -lssl -lc-client4"<br>+                             LIBS="${saved_libs} ${imap_libs} "`echo ${imap_ldflags}`<br>+                           AC_LINK_IFELSE(<br>+                                      [AC_LANG_PROGRAM(<br>+                                            [#include <stdio.h><br>+                                            #include <c-client/c-client.h><br>+                                         void mm_searched (MAILSTREAM *stream,unsigned long number)<br>+                                           {<br>+                                            }<br>+                                            void mm_exists (MAILSTREAM *stream,unsigned long number)<br>+                                             {<br>+                                            }<br>+                                            void mm_expunged (MAILSTREAM *stream,unsigned long number)<br>+                                           {<br>+                                            }<br>+                                            void mm_flags (MAILSTREAM *stream,unsigned long number)<br>+                                              {<br>+                                            }<br>+                                            void mm_notify (MAILSTREAM *stream,char *string,long errflg)<br>+                                         {<br>+                                            }<br>+                                            void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)<br>+                                                {<br>+                                            }<br>+                                            void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)<br>+                                                {<br>+                                            }<br>+                                            void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status)<br>+                                         {<br>+                                            }<br>+                                            void mm_log (char *string,long errflg)<br>+                                               {<br>+                                            }<br>+                                            void mm_dlog (char *string)<br>+                                          {<br>+                                            }<br>+                                            void mm_login (NETMBX *mb,char *user,char *pwd,long trial)<br>+                                           {<br>+                                            }<br>+                                            void mm_critical (MAILSTREAM *stream)<br>+                                                {<br>+                                            }<br>+                                            void mm_nocritical (MAILSTREAM *stream)<br>+                                              {<br>+                                            }<br>+                                            long mm_diskerror (MAILSTREAM *stream,long errcode,long serious)<br>+                                             {<br>+                                            }<br>+                                            void mm_fatal (char *string)<br>+                                         {<br>+                                            }],<br>+                                          [<br>+                                            MAILSTREAM *foo = mail_open(NULL, "", 0);<br>+                                          ]<br>+                                    )],<br>+                                  [ac_cv_imap_tk="yes"],<br>+                                     [ac_cv_imap_tk="no"]<br>+                               )<br>+                    fi<br>                    if test "${ac_cv_imap_tk}" = "yes"; then<br>                          AC_LINK_IFELSE(<br>                                       [AC_LANG_PROGRAM(<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8846">change 8846</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/8846"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I1347f3f2f3737010d0a80a5c30b5aaf71cf3ccb0 </div>
<div style="display:none"> Gerrit-Change-Number: 8846 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>