]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
BuildSystem: Enable IMAP storage on openSUSE and Arch Linux.
authorAlexander Traud <pabstraud@compuserve.com>
Mon, 12 Mar 2018 10:19:41 +0000 (11:19 +0100)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 13 Mar 2018 21:26:25 +0000 (16:26 -0500)
ASTERISK-27734

Change-Id: I8d6e6a1c08c031649764f5277fbbb85e57c3a9d4

configure
configure.ac

index 7ae3517df372bf5666197fb46eb9fab6d2ff63d4..64e6fddad7bf30987a111fcfe7752204a907554c 100755 (executable)
--- a/configure
+++ b/configure
@@ -21665,7 +21665,7 @@ $as_echo_n "checking for system c-client library...... " >&6; }
                CPPFLAGS="${saved_cppflags}"
                LIBS="${saved_libs}"
                imap_ldflags=""
-               imap_libs="-lc-client"
+               imap_libs="-lcrypto -lssl -lc-client"
                imap_include="-DUSE_SYSTEM_IMAP" #Try the imap directory first
                CPPFLAGS="${CPPFLAGS} ${imap_include}"
                LIBS="${LIBS} ${imap_libs} "`echo ${imap_ldflags}`
index aa9e8cf0bd5cc01c9acff759b1dcd7a6372aa1a0..37aeaf44b999739811bd0c86f63c9a764515a44c 100644 (file)
@@ -1857,7 +1857,7 @@ if test "${USE_IMAP_TK}" != "no"; then
                CPPFLAGS="${saved_cppflags}"
                LIBS="${saved_libs}"
                imap_ldflags=""
-               imap_libs="-lc-client"
+               imap_libs="-lcrypto -lssl -lc-client"
                imap_include="-DUSE_SYSTEM_IMAP" #Try the imap directory first
                CPPFLAGS="${CPPFLAGS} ${imap_include}"
                LIBS="${LIBS} ${imap_libs} "`echo ${imap_ldflags}`