]> diplodocus.org Git - nmh/commitdiff
Added explicit OATH_SUPPORT=1 to configure.ac when oauth support is
authorDavid Levine <david.levine@gonift.com>
Tue, 26 Apr 2016 01:58:10 +0000 (21:58 -0400)
committerDavid Levine <david.levine@gonift.com>
Tue, 26 Apr 2016 01:58:10 +0000 (21:58 -0400)
enabled, otherwise it didn't get set to 1.

configure.ac

index 911db7edcd10f556b83ad6b0e3a020d5fd632ab3..8f731557b26dc58bc7fbdad36879e3756c448184 100644 (file)
@@ -524,6 +524,7 @@ AS_IF([test "x$with_oauth" = xyes && test "x$HAVE_CURL_H" = x],
       [AC_MSG_ERROR([OAuth requested but curl library not found])],
       [test "x$with_oauth" != xno && test "x$HAVE_CURL_H" = x1 && test "x$CURLLIB" != x],
       [AC_DEFINE([OAUTH_SUPPORT], [1], [Support OAuth2 in SMTP auth.])
       [AC_MSG_ERROR([OAuth requested but curl library not found])],
       [test "x$with_oauth" != xno && test "x$HAVE_CURL_H" = x1 && test "x$CURLLIB" != x],
       [AC_DEFINE([OAUTH_SUPPORT], [1], [Support OAuth2 in SMTP auth.])
+       OAUTH_SUPPORT=1
        oauth_support=yes])
 
 dnl ----------------
        oauth_support=yes])
 
 dnl ----------------