Renamed AUTHOBJS to IMAP_AUTHOBJS for clarity. Added call to MU_CHECK_GSASL.
Showing
1 changed file
with
8 additions
and
2 deletions
... | @@ -93,6 +93,8 @@ case "${withval}" in | ... | @@ -93,6 +93,8 @@ case "${withval}" in |
93 | *) AC_MSG_ERROR(bad value ${withval} for --without-readline) ;; | 93 | *) AC_MSG_ERROR(bad value ${withval} for --without-readline) ;; |
94 | esac],[usereadline=yes]) | 94 | esac],[usereadline=yes]) |
95 | 95 | ||
96 | AC_SUBST(IMAP_AUTHOBJS) | ||
97 | |||
96 | AC_ARG_WITH([gssapi], | 98 | AC_ARG_WITH([gssapi], |
97 | AC_HELP_STRING([--with-gssapi], | 99 | AC_HELP_STRING([--with-gssapi], |
98 | [use GSSAPI authentication]), | 100 | [use GSSAPI authentication]), |
... | @@ -107,11 +109,15 @@ if test "x$WITH_GSSAPI" != "xno"; then | ... | @@ -107,11 +109,15 @@ if test "x$WITH_GSSAPI" != "xno"; then |
107 | else | 109 | else |
108 | AUTHLIBS="$AUTHLIBS $GSSAPI_LIBS" | 110 | AUTHLIBS="$AUTHLIBS $GSSAPI_LIBS" |
109 | AUTHINCS="$AUTHINCS $GSSAPI_CFLAGS" | 111 | AUTHINCS="$AUTHINCS $GSSAPI_CFLAGS" |
110 | AUTHOBJS="$AUTHOBJS auth_gss.o" | 112 | IMAP_AUTHOBJS="$IMAP_AUTHOBJS auth_gss.o" |
111 | AC_DEFINE(WITH_GSSAPI,1,[Define if mailutils is using GSSAPI]) | 113 | AC_DEFINE(WITH_GSSAPI,1,[Define if mailutils is using GSSAPI]) |
112 | fi | 114 | fi |
113 | fi | 115 | fi |
114 | AC_SUBST(AUTHOBJS) | 116 | |
117 | MU_CHECK_GSASL(0.0.2, [ | ||
118 | AC_DEFINE(WITH_GSASL,1,[Define if mailutils is using GNU SASL]) | ||
119 | AUTHLIBS="$AUTHLIBS $GSASL_LIBS" | ||
120 | IMAP_AUTHOBJS="$IMAP_AUTHOBJS auth_gsasl.o"]) | ||
115 | 121 | ||
116 | MU_CHECK_TLS | 122 | MU_CHECK_TLS |
117 | if test "$WITH_GNUTLS" != "no"; then | 123 | if test "$WITH_GNUTLS" != "no"; then | ... | ... |
-
Please register or sign in to post a comment