summaryrefslogtreecommitdiff
path: root/ext/cyrus
diff options
context:
space:
mode:
authorMartin Kraemer <martin@php.net>2002-09-04 14:41:29 +0000
committerMartin Kraemer <martin@php.net>2002-09-04 14:41:29 +0000
commit20f85627f5d6e4acc5c0fa356b9fb483a3389d70 (patch)
treedb896722388feeb86dc126dee18ce945daed42a4 /ext/cyrus
parentf05db43a680520bcc3f3d84852c64872d2ee4c04 (diff)
downloadphp-git-20f85627f5d6e4acc5c0fa356b9fb483a3389d70.tar.gz
The sasl.h file is in .../include/sasl/ (at least in cyrus-sasl-2.1.6)
Diffstat (limited to 'ext/cyrus')
-rw-r--r--ext/cyrus/config.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/cyrus/config.m4 b/ext/cyrus/config.m4
index 5bc12fdaf4..d61dea87e6 100644
--- a/ext/cyrus/config.m4
+++ b/ext/cyrus/config.m4
@@ -21,6 +21,11 @@ if test "$PHP_CYRUS" != "no"; then
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
fi
if test -r $i/include/openssl/ssl.h && test "$found_openssl" = "no" && test "$PHP_OPENSSL" = "no"; then
PHP_SUBST(OPENSSL_SHARED_LIBADD)