diff options
author | Russ Allbery <rra@stanford.edu> | 2007-08-26 19:28:53 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2007-08-26 19:28:53 +0000 |
commit | ce2693b6ba82c4e4ee930a31b0ddbca2e8e6d800 (patch) | |
tree | a0a972f236300bafb09cdbc9b83948a92867ed8a /m4 | |
parent | 4e9e9c11f356b2dd73d0250ff82897eff60da7eb (diff) |
Check for the MIT Kerberos GSS-API library first in reduced dependency
mode for improved reproducibility of the Debian build.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/krb5.m4 | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -19,12 +19,13 @@ dnl Copyright 2005, 2006 Board of Trustees, Leland Stanford Jr. University dnl See README for licensing terms. dnl Does the appropriate library checks for reduced-dependency GSS-API -dnl linkage. +dnl linkage. Check for MIT Kerberos first since it has the least generic name +dnl for the GSS-API library. AC_DEFUN([_RRA_LIB_KRB5_GSSAPI_REDUCED], -[AC_CHECK_LIB([gssapi], [gss_import_name], - [KRBLIBS="-lgssapi"], - [AC_CHECK_LIB([gssapi_krb5], [gss_import_name], - [KRBLIBS="-lgssapi_krb5"], +[AC_CHECK_LIB([gssapi_krb5], [gss_import_name], + [KRBLIBS="-lgssapi_krb5"], + [AC_CHECK_LIB([gssapi], [gss_import_name], + [KRBLIBS="-lgssapi"], [AC_MSG_ERROR([cannot find usable GSS-API library])])])]) dnl Does the appropriate library checks for reduced-dependency krb5 linkage. |