diff options
author | foobar <sniper@php.net> | 2002-07-12 22:11:54 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2002-07-12 22:11:54 +0000 |
commit | 7b0b6d0b8cbfe12e300ba20f84d80984888d6ee4 (patch) | |
tree | fd384827862db233bcaa7d0a586bab0a2889f28d /ext/imap/config.m4 | |
parent | 36fbe5c93380a51b924ec3011a2441d8b9f890b9 (diff) | |
download | php-git-7b0b6d0b8cbfe12e300ba20f84d80984888d6ee4.tar.gz |
Bail out the given path does not have the libraries in it.
Diffstat (limited to 'ext/imap/config.m4')
-rw-r--r-- | ext/imap/config.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/imap/config.m4 b/ext/imap/config.m4 index a2a0647895..6768dedf18 100644 --- a/ext/imap/config.m4 +++ b/ext/imap/config.m4 @@ -68,6 +68,12 @@ AC_DEFUN(PHP_IMAP_KRB_CHK, [ fi if test "$PHP_KERBEROS" != "no"; then + if test ! -f $PHP_KERBEROS/lib/libkrb5.a && test ! -f $PHP_KERBEROS/lib/libkrb5.$SHLIB_SUFFIX_NAME; then + AC_MSG_ERROR([Kerberos libraries not found in $PHP_KERBEROS/lib. + + Check the path given to --with-kerberos (if no path is given, defaults to /usr/kerberos ) + ]) + fi AC_DEFINE(HAVE_IMAP_KRB,1,[ ]) PHP_ADD_LIBPATH($PHP_KERBEROS/lib, IMAP_SHARED_LIBADD) PHP_ADD_LIBRARY(gssapi_krb5, 1, IMAP_SHARED_LIBADD) |