From 846194e20eab21497d469a579e3895dc626a32d0 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Thu, 19 Jan 2006 13:46:30 +0000 Subject: [PATCH] Don't be fooled by krb5-config when cross-compiling. --- lib/configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/configure.ac b/lib/configure.ac index 06c6881..df50807 100644 --- a/lib/configure.ac +++ b/lib/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -# Copyright (C) 2002, 2003, 2004, 2005 Simon Josefsson. +# Copyright (C) 2002, 2003, 2004, 2005, 2006 Simon Josefsson. # # This file is part of GNU SASL Library. # @@ -204,6 +204,9 @@ elif test "$gssapi" != "no" ; then gssapi=yes AC_MSG_NOTICE([GNU GSS found]) AC_DEFINE(USE_GSS, 1, [Define to 1 if you want GSS.]) + elif test "$cross_compiling" = "yes"; then + AC_MSG_NOTICE([Cross-compiling, won't rely on MIT/Heimdal krb5-config]) + AC_MSG_NOTICE([Use --enable-gssapi=mit or --enable-gssapi=heimdal.]) else AC_MSG_WARN([GNU GSS not found (see http://josefsson.org/gss/)...]) AC_PATH_PROG(KRB5_CONFIG, krb5-config, no) -- 2.11.4.GIT