Skip to content

Commit 9813454

Browse files
author
foobar
committed
This test won't work without these libs. Also, it might fail for other
reasons too.
1 parent 8f1f79f commit 9813454

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/imap/config.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ AC_DEFUN(PHP_IMAP_SSL_CHK, [
5353
PHP_ADD_LIBRARY_DEFER(ssl)
5454
5555
old_LIBS=$LIBS
56-
LIBS="$LIBS -lc-client"
56+
LIBS="$LIBS -lc-client -lcrypto -lssl"
5757
if test $PHP_KERBEROS != "no"; then
5858
LIBS="$LIBS -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err"
5959
fi
@@ -81,7 +81,7 @@ AC_DEFUN(PHP_IMAP_SSL_CHK, [
8181
],[
8282
AC_DEFINE(HAVE_IMAP_SSL,1,[ ])
8383
], [
84-
AC_MSG_ERROR(This c-client library does not support SSL. Recompile or remove --with-imap-ssl from configure line.)
84+
AC_MSG_ERROR(Problem with c-client library. Please check config.log for more information.)
8585
])
8686
LIBS=$old_LIBS
8787
fi

0 commit comments

Comments
 (0)