dovecot: Make sure we don't define BUILTIN_GSSAPI unless HAVE_GS...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Sep 25 19:34:06 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/dee85392c5c1
changeset: 6501:dee85392c5c1
user: Timo Sirainen <tss at iki.fi>
date: Tue Sep 25 19:34:02 2007 +0300
description:
Make sure we don't define BUILTIN_GSSAPI unless HAVE_GSSAPI is also defined.
diffstat:
1 file changed, 8 insertions(+), 8 deletions(-)
configure.in | 16 ++++++++--------
diffs (28 lines):
diff -r 8b58219e6ac5 -r dee85392c5c1 configure.in
--- a/configure.in Tue Sep 25 18:01:20 2007 +0300
+++ b/configure.in Tue Sep 25 19:34:02 2007 +0300
@@ -1603,16 +1603,16 @@ if test $want_gssapi = yes; then
AC_DEFINE(HAVE___GSS_USEROK,,
Define if you have __gss_userok())
],, $KRB5_LIBS)
+
+ if test x$want_gssapi_plugin != xyes; then
+ AUTH_LIBS="$AUTH_LIBS $KRB5_LIBS"
+ AUTH_CFLAGS="$AUTH_CFLAGS `krb5-config --cflags gssapi`"
+ AC_DEFINE(BUILTIN_GSSAPI,, GSSAPI support is built in)
+ else
+ have_gssapi_plugin=yes
+ fi
fi
CFLAGS=$old_CFLAGS
-
- if test x$want_gssapi_plugin != xyes; then
- AUTH_LIBS="$AUTH_LIBS $KRB5_LIBS"
- AUTH_CFLAGS="$AUTH_CFLAGS `krb5-config --cflags gssapi`"
- AC_DEFINE(BUILTIN_GSSAPI,, GSSAPI support is built in)
- else
- have_gssapi_plugin=yes
- fi
fi
fi
fi
More information about the dovecot-cvs
mailing list