New option: --with-gssapi
Showing
1 changed file
with
20 additions
and
0 deletions
... | @@ -38,6 +38,25 @@ AC_ARG_WITH(readline, | ... | @@ -38,6 +38,25 @@ AC_ARG_WITH(readline, |
38 | *) AC_MSG_ERROR(bad value ${withval} for --without-readline) ;; | 38 | *) AC_MSG_ERROR(bad value ${withval} for --without-readline) ;; |
39 | esac],[usereadline=yes]) | 39 | esac],[usereadline=yes]) |
40 | 40 | ||
41 | AC_ARG_WITH(gssapi, | ||
42 | [ --with-gssapi use GSSAPI authentication ], | ||
43 | [WITH_GSSAPI=$withval], | ||
44 | [WITH_GSSAPI=no]) | ||
45 | |||
46 | if test "x$WITH_GSSAPI" != "xno"; then | ||
47 | MU_CHECK_GSSAPI($WITH_GSSAPI) | ||
48 | if test "$GSSAPI_IMPL" = "none"; then | ||
49 | AC_CACHE_SAVE | ||
50 | AC_MSG_RESULT([GSSAPI libraries not found]) | ||
51 | else | ||
52 | AUTHLIBS="$AUTHLIBS $GSSAPI_LIBS" | ||
53 | AUTHINCS="$AUTHINCS $GSSAPI_CFLAGS" | ||
54 | AUTHOBJS="$AUTHOBJS auth_gss.o" | ||
55 | AC_DEFINE(WITH_GSSAPI) | ||
56 | fi | ||
57 | fi | ||
58 | AC_SUBST(AUTHOBJS) | ||
59 | |||
41 | AC_ARG_WITH(guile, | 60 | AC_ARG_WITH(guile, |
42 | [ --without-guile do not build guile interface], | 61 | [ --without-guile do not build guile interface], |
43 | [case "${withval}" in | 62 | [case "${withval}" in |
... | @@ -218,6 +237,7 @@ if test x"$ac_cv_have_libpam" != x"yes"; then | ... | @@ -218,6 +237,7 @@ if test x"$ac_cv_have_libpam" != x"yes"; then |
218 | fi | 237 | fi |
219 | fi | 238 | fi |
220 | AC_SUBST(AUTHLIBS) | 239 | AC_SUBST(AUTHLIBS) |
240 | AC_SUBST(AUTHINCS) | ||
221 | 241 | ||
222 | #When using thread support some platforms need -D_REENTRANT to get the | 242 | #When using thread support some platforms need -D_REENTRANT to get the |
223 | #right prototypes including errno. | 243 | #right prototypes including errno. | ... | ... |
-
Please register or sign in to post a comment