diff options
author | Michal Marek <mmarek@suse.cz> | 2008-03-06 17:22:45 +0000 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2008-03-06 17:22:45 +0000 |
commit | 40e1a016f92903c731f07325bc1f9c6416ae1ac3 (patch) | |
tree | fe0af867ad5d6e91c3e3a5467d0dd76af72fece2 /configure.ac | |
parent | 1cf559492ac81d0533757cb36bb002cb6829d81b (diff) |
Fix the gssapi configure check to detect newer MIT Kerberos (patch by
Michael Calmer)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 5a086bebb..b3f9a229b 100644 --- a/configure.ac +++ b/configure.ac @@ -977,18 +977,18 @@ if test x"$want_gss" = xyes; then gnu_gss=yes ], [ - dnl not found, check Heimdal - AC_CHECK_HEADER(gssapi.h, + dnl not found, check MIT + AC_CHECK_HEADER(gssapi/gssapi.h, [ dnl found in the given dirs - AC_DEFINE(HAVE_GSSHEIMDAL, 1, [if you have the Heimdal gssapi libraries]) + AC_DEFINE(HAVE_GSSMIT, 1, [if you have the MIT gssapi libraries]) ], [ - dnl not found, check in gssapi/ subdir - AC_CHECK_HEADER(gssapi/gssapi.h, + dnl not found, check for Heimdal + AC_CHECK_HEADER(gssapi.h, [ dnl found - AC_DEFINE(HAVE_GSSMIT, 1, [if you have the MIT gssapi libraries]) + AC_DEFINE(HAVE_GSSHEIMDAL, 1, [if you have the Heimdal gssapi libraries]) ], [ dnl no header found, disabling GSS |