This makes IMAP_STORAGE include the proper headers if you
have specified the "system" option for --with-imap when running
the configure script and your IMAP-related headers exist in
/usr/include/c-client.
This change is due to a hasty merge of a 1.4 change I made.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114575
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
#include <imap/c-client.h>
#include <imap/imap4r1.h>
#include <imap/linkage.h>
+#elif defined (USE_SYSTEM_CCLIENT)
+#include <c-client/c-client.h>
+#include <c-client/imap4r1.h>
+#include <c-client/linkage.h>
#else
#include "c-client.h"
#include "imap4r1.h"
char *cp;
#ifdef USE_SYSTEM_IMAP
#include <imap/linkage.c>
+#elif defined(USE_SYSTEM_CCLIENT)
+#include <c-client/linkage.c>
#else
#include "linkage.c"
#endif