From 01f82ee84cc849aa7c2f344d2067f0d81715490d Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Fri, 9 Oct 2015 16:26:24 +0200 Subject: cmake: fix kerberos library lookup, support Heimdal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A build with the gold linker broke with: run/libwireshark.so.0.0.0: error: undefined reference to 'krb5_c_decrypt' Fix this my restructuring the FindKERBEROS module to use the libraries found by pkg-config. While at it, check for MIT and Heimdal instead of assuming MIT. Remove HAVE_KEYTYPE_ARCFOUR_56 as this macro is not used. Change-Id: Iab23d79bc3f25e9c0fd7203b6f050f875fb4a2b5 Reviewed-on: https://code.wireshark.org/review/10907 Petri-Dish: Peter Wu Tested-by: Petri Dish Buildbot Reviewed-by: Jörg Mayer Reviewed-by: Peter Wu --- cmakeconfig.h.in | 3 --- 1 file changed, 3 deletions(-) (limited to 'cmakeconfig.h.in') diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index ee8839692b..dfc7e3290c 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -115,9 +115,6 @@ /* Define to use kerberos */ #cmakedefine HAVE_KERBEROS 1 -/* Define if krb5.h defines KEYTYPE_ARCFOUR_56 */ -#cmakedefine HAVE_KEYTYPE_ARCFOUR_56 1 - /* Define to use the libcap library */ #cmakedefine HAVE_LIBCAP 1 -- cgit v1.2.3