diff options
author | Dan Kalowsky <kalowsky@php.net> | 2001-02-26 15:17:12 +0000 |
---|---|---|
committer | Dan Kalowsky <kalowsky@php.net> | 2001-02-26 15:17:12 +0000 |
commit | d883ff47ed8563107e686cb5ec18a99a1c81d5ff (patch) | |
tree | e0d556002abf5a0e5fc183218a15b3593b84d29b /ext/imap/config.m4 | |
parent | 08d3e700fa0f8debcf8364ee4cca6c31771619c5 (diff) | |
download | php-git-d883ff47ed8563107e686cb5ec18a99a1c81d5ff.tar.gz |
Correctly checks for the proper header files, and excludes the QUOTA functions
from non-imap2000 systems (unavailable for testing at this time).
# anyone willing to test this out on non-imap2000?
PR:
Submitted by:
Reviewed by: Sascha Schumann
Obtained from:
Diffstat (limited to 'ext/imap/config.m4')
-rw-r--r-- | ext/imap/config.m4 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ext/imap/config.m4 b/ext/imap/config.m4 index ff7a0a7ce1..84f46ca38c 100644 --- a/ext/imap/config.m4 +++ b/ext/imap/config.m4 @@ -1,6 +1,14 @@ dnl $Id$ -AC_DEFUN(IMAP_INC_CHK,[if test -r $i$1/rfc822.h; then IMAP_DIR=$i; IMAP_INC_DIR=$i$1]) +AC_DEFUN(IMAP_INC_CHK,[if test -r "$i$1/c-client.h"; then + AC_DEFINE(HAVE_IMAP2000, 1, [ ]) + IMAP_DIR=$i + IMAP_INC_DIR=$i$1 + elif test -r "$i$1/rfc822.h"; then + IMAP_DIR=$i; + IMAP_INC_DIR=$i$1 + +]) AC_DEFUN(IMAP_LIB_CHK,[ str="$IMAP_DIR/$1/lib$lib.*" |