goa: Populate imap/smtp details if using GOA >= 3.8.
[platform/upstream/evolution-data-server.git] / configure.ac
index 5f81db0..a12c1af 100644 (file)
@@ -469,6 +469,11 @@ if `$PKG_CONFIG --atleast-version=3.5 goa-1.0`; then
        AC_DEFINE(HAVE_GOA_PASSWORD_BASED,1,[Have GoaPasswordBased in goa-1.0])
 fi
 
+dnl The "imap_smtp" provider was introduced around version 3.7.90.
+if `$PKG_CONFIG --atleast-version=3.7.90 goa-1.0`; then
+       AC_DEFINE(HAVE_GOA_IMAP_SMTP,1,[Have IMAP/SMTP provider in goa-1.0])
+fi
+
 dnl ********************************
 dnl Check for Ubuntu Online Accounts
 dnl ********************************