cvs: php4 /ext/cyrus config.m4
| From: | Martin Kraemer | Date: | Wed, 04 Sep 2002 14:41:29 +0000 |
| Subject: | cvs: php4 /ext/cyrus config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13829@lists.php.net to get a copy of this message | ||
martin Wed Sep 4 10:41:29 2002 EDT
Modified files:
/php4/ext/cyrus config.m4
Log:
The sasl.h file is in .../include/sasl/ (at least in cyrus-sasl-2.1.6)
Index: php4/ext/cyrus/config.m4
diff -u php4/ext/cyrus/config.m4:1.4 php4/ext/cyrus/config.m4:1.5
--- php4/ext/cyrus/config.m4:1.4 Tue Mar 12 11:12:57 2002
+++ php4/ext/cyrus/config.m4 Wed Sep 4 10:41:29 2002
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.4 2002/03/12 16:12:57 sas Exp $
+dnl $Id: config.m4,v 1.5 2002/09/04 14:41:29 martin Exp $
dnl
PHP_ARG_WITH(cyrus, for cyrus imap support,
@@ -18,6 +18,11 @@
fi
if test -r $i/include/sasl.h && test "$found_sasl" = "no"; then
PHP_ADD_INCLUDE($i/include)
+ PHP_SUBST(SASL_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_WITH_PATH(sasl, $i/lib, SASL_SHARED_LIBADD)
+ found_sasl=yes
+ elif test -r $i/include/sasl/sasl.h && test "$found_sasl" = "no";
then
+ PHP_ADD_INCLUDE($i/include/sasl)
PHP_SUBST(SASL_SHARED_LIBADD)
PHP_ADD_LIBRARY_WITH_PATH(sasl, $i/lib, SASL_SHARED_LIBADD)
found_sasl=yes