]> granicus.if.org Git - php/commitdiff
This test won't work without these libs. Also, it might fail for other
authorfoobar <sniper@php.net>
Tue, 26 Jun 2001 05:50:42 +0000 (05:50 +0000)
committerfoobar <sniper@php.net>
Tue, 26 Jun 2001 05:50:42 +0000 (05:50 +0000)
reasons too.

ext/imap/config.m4

index 7cea41a9fa44e5e32af21da5922b745e34e0a013..b9f22969a465716e474e32bfe37b880c6fe3bcd4 100644 (file)
@@ -53,7 +53,7 @@ AC_DEFUN(PHP_IMAP_SSL_CHK, [
     PHP_ADD_LIBRARY_DEFER(ssl)
 
     old_LIBS=$LIBS
-    LIBS="$LIBS -lc-client"
+    LIBS="$LIBS -lc-client -lcrypto -lssl"
     if test $PHP_KERBEROS != "no"; then
       LIBS="$LIBS -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err"
     fi
@@ -81,7 +81,7 @@ AC_DEFUN(PHP_IMAP_SSL_CHK, [
     ],[
       AC_DEFINE(HAVE_IMAP_SSL,1,[ ])
     ], [
-      AC_MSG_ERROR(This c-client library does not support SSL. Recompile or remove --with-imap-ssl from configure line.)
+      AC_MSG_ERROR(Problem with c-client library. Please check config.log for more information.)
     ])
     LIBS=$old_LIBS
   fi