diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-02-25 11:24:44 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-02-25 11:24:44 +1100 |
commit | 03978c61f32935b31337844aa25d87dc0edd39d2 (patch) | |
tree | 9467a076b7d4fcf741a3f59bf08096f393bf27d0 /configure.ac | |
parent | a423fefb89519814ab4a7a44001268648c58ff36 (diff) |
- (dtucker) [configure.ac ssh-gss.h] bz#2073: additional #includes needed
to use Solaris native GSS libs. Patch from Pierre Ossman.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 3ea3f8a35..f2d671197 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.509 2013/02/22 22:12:24 djm Exp $ | 1 | # $Id: configure.ac,v 1.510 2013/02/25 00:24:44 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -15,7 +15,7 @@ | |||
15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | 16 | ||
17 | AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) | 17 | AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) |
18 | AC_REVISION($Revision: 1.509 $) | 18 | AC_REVISION($Revision: 1.510 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | AC_LANG([C]) | 20 | AC_LANG([C]) |
21 | 21 | ||
@@ -3722,6 +3722,20 @@ AC_ARG_WITH([kerberos5], | |||
3722 | 3722 | ||
3723 | AC_SEARCH_LIBS([k_hasafs], [kafs], [AC_DEFINE([USE_AFS], [1], | 3723 | AC_SEARCH_LIBS([k_hasafs], [kafs], [AC_DEFINE([USE_AFS], [1], |
3724 | [Define this if you want to use libkafs' AFS support])]) | 3724 | [Define this if you want to use libkafs' AFS support])]) |
3725 | |||
3726 | AC_CHECK_DECLS([GSS_C_NT_HOSTBASED_SERVICE], [], [], [[ | ||
3727 | #ifdef HAVE_GSSAPI_H | ||
3728 | # include <gssapi.h> | ||
3729 | #elif defined(HAVE_GSSAPI_GSSAPI_H) | ||
3730 | # include <gssapi/gssapi.h> | ||
3731 | #endif | ||
3732 | |||
3733 | #ifdef HAVE_GSSAPI_GENERIC_H | ||
3734 | # include <gssapi_generic.h> | ||
3735 | #elif defined(HAVE_GSSAPI_GSSAPI_GENERIC_H) | ||
3736 | # include <gssapi/gssapi_generic.h> | ||
3737 | #endif | ||
3738 | ]]) | ||
3725 | fi | 3739 | fi |
3726 | ] | 3740 | ] |
3727 | ) | 3741 | ) |