cvs: php4 /ext/imap config.m4
| From: | Jani Taskinen | Date: | Fri, 12 Jul 2002 22:11:55 +0000 |
| Subject: | cvs: php4 /ext/imap config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12800@lists.php.net to get a copy of this message | ||
sniper Fri Jul 12 18:11:55 2002 EDT
Modified files:
/php4/ext/imap config.m4
Log:
Bail out the given path does not have the libraries in it.
Index: php4/ext/imap/config.m4
diff -u php4/ext/imap/config.m4:1.45 php4/ext/imap/config.m4:1.46
--- php4/ext/imap/config.m4:1.45 Fri Jul 12 08:13:45 2002
+++ php4/ext/imap/config.m4 Fri Jul 12 18:11:54 2002
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.45 2002/07/12 12:13:45 sniper Exp $
+dnl $Id: config.m4,v 1.46 2002/07/12 22:11:54 sniper Exp $
dnl
AC_DEFUN(IMAP_INC_CHK,[if test -r "$i$1/c-client.h"; then
@@ -68,6 +68,12 @@
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)