diff options
| author | foobar <sniper@php.net> | 2001-08-07 16:18:05 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2001-08-07 16:18:05 +0000 |
| commit | e17f384ee78ef75de3cb8adce7ef211815fa41b8 (patch) | |
| tree | 4a343e8d502f2cdd9f48d6909a374ef83470db2d /ext/imap/config.m4 | |
| parent | 27fcd0509a6a06eb64cbce3eb3a9a59f0b3bfd54 (diff) | |
| download | php-git-e17f384ee78ef75de3cb8adce7ef211815fa41b8.tar.gz | |
Beutifying. Also made a check for IMAP-2001.
Diffstat (limited to 'ext/imap/config.m4')
| -rw-r--r-- | ext/imap/config.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/imap/config.m4 b/ext/imap/config.m4 index 0564235f4a..9a4eb71270 100644 --- a/ext/imap/config.m4 +++ b/ext/imap/config.m4 @@ -124,6 +124,18 @@ if test "$PHP_IMAP" != "no"; then fi done + old_CPPFLAGS=$CPPFLAGS + CPPFLAGS=-I$IMAP_INC_DIR + AC_EGREP_CPP(this_is_true, [ + #include "imap4r1.h" + #if defined(IMAPSSLPORT) + this_is_true + #endif + ],[ + AC_DEFINE(HAVE_IMAP2001, 1, [ ]) + ],[ ]) + CPPFLAGS=$old_CPPFLAGS + AC_CHECK_LIB(pam, pam_start) AC_CHECK_LIB(crypt, crypt) |
