diff options
author | Hugh McMaster <hugh.mcmaster@outlook.com> | 2019-04-19 14:57:35 +1000 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-04-20 15:13:24 +0200 |
commit | aba72ebf15ec5d8063e9f801f816d7f45f772840 (patch) | |
tree | 1674f293fb3f017742d61c76375c5f97a9ebe97a /ext/imap | |
parent | 4ff2d96cc996e8587eae136705b8688eccaf8ce2 (diff) | |
download | php-git-aba72ebf15ec5d8063e9f801f816d7f45f772840.tar.gz |
Use PKG_CHECK_MODULES to detect the kerberos libraries
Diffstat (limited to 'ext/imap')
-rw-r--r-- | ext/imap/config.m4 | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ext/imap/config.m4 b/ext/imap/config.m4 index 4eeda854b7..1d96769a92 100644 --- a/ext/imap/config.m4 +++ b/ext/imap/config.m4 @@ -51,11 +51,6 @@ AC_DEFUN([PHP_IMAP_KRB_CHK], [ PHP_SETUP_KERBEROS(IMAP_SHARED_LIBADD, [ AC_DEFINE(HAVE_IMAP_KRB,1,[ ]) - ], [ - AC_MSG_ERROR([Kerberos libraries not found. - - Check the path given to --with-kerberos (if no path is given, searches in /usr/kerberos, /usr/local and /usr ) - ]) ]) else AC_EGREP_HEADER(auth_gss, $IMAP_INC_DIR/linkage.h, [ @@ -98,8 +93,8 @@ PHP_ARG_WITH([imap], PHP_ARG_WITH([kerberos], [for IMAP Kerberos support], - [AS_HELP_STRING([[--with-kerberos[=DIR]]], - [IMAP: Include Kerberos support. DIR is the Kerberos install prefix])], + [AS_HELP_STRING([--with-kerberos], + [IMAP: Include Kerberos support])], [no], [no]) |