blob: 686949595c7462c4ac695f11b53ad88b2e3e351d (
plain)
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
|
$NetBSD: patch-aa,v 1.1.1.1 2001/10/16 05:39:57 jlam Exp $
--- config.m4.orig Mon May 21 20:38:46 2001
+++ config.m4
@@ -49,10 +49,11 @@
if test "$PHP_IMAP_SSL" != "no"; then
PHP_ADD_LIBPATH($PHP_IMAP_SSL/lib, IMAP_SHARED_LIBADD)
- PHP_ADD_LIBRARY_DEFER(crypto)
- PHP_ADD_LIBRARY_DEFER(ssl)
+ PHP_ADD_LIBRARY_WITH_PATH(crypto, $PHP_IMAP_SSL/lib, IMAP_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_WITH_PATH(ssl, $PHP_IMAP_SSL/lib, IMAP_SHARED_LIBADD)
old_LIBS=$LIBS
+ LIBS="$LIBS -lssl -lcrypto"
LIBS="$LIBS -lc-client"
if test $PHP_KERBEROS != "no"; then
LIBS="$LIBS -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err"
@@ -133,8 +134,7 @@
fi
PHP_ADD_INCLUDE($IMAP_INC_DIR)
- PHP_ADD_LIBPATH($IMAP_LIBDIR, IMAP_SHARED_LIBADD)
- PHP_ADD_LIBRARY_DEFER($IMAP_LIB)
+ PHP_ADD_LIBRARY_WITH_PATH($IMAP_LIB, $IMAP_LIBDIR, IMAP_SHARED_LIBADD)
PHP_IMAP_KRB_CHK
PHP_IMAP_SSL_CHK
fi
|