summaryrefslogtreecommitdiff
path: root/ext/imap/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/imap/config.m4')
-rw-r--r--ext/imap/config.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/imap/config.m4 b/ext/imap/config.m4
index 3a9c281046..d9fe3cc6d7 100644
--- a/ext/imap/config.m4
+++ b/ext/imap/config.m4
@@ -110,6 +110,12 @@ if test "$PHP_IMAP" != "no"; then
fi
done
+ dnl Check for c-client version 2004
+ AC_EGREP_HEADER(mail_fetch_overview_sequence, $IMAP_INC_DIR/mail.h, [
+ AC_DEFINE(HAVE_IMAP2004,1,[ ])
+ ])
+
+ dnl Check for c-client version 2001
old_CPPFLAGS=$CPPFLAGS
CPPFLAGS=-I$IMAP_INC_DIR
AC_EGREP_CPP(this_is_true, [