summaryrefslogtreecommitdiffstats
path: root/m4macros
diff options
context:
space:
mode:
authorTomek Mrugalski <tomek@isc.org>2021-06-21 11:51:30 +0200
committerTomek Mrugalski <tomek@isc.org>2021-06-21 11:51:30 +0200
commit8c149d7d2acd4310f585606eb0851381a6fc28ad (patch)
tree98d4226571054d0d069c5bf2a80b716531b0d7f7 /m4macros
parent[#1909] Added ChangeLog entry (diff)
downloadkea-8c149d7d2acd4310f585606eb0851381a6fc28ad.tar.xz
kea-8c149d7d2acd4310f585606eb0851381a6fc28ad.zip
[#1862] The configure warning for Heimdal is now gone
- fix proposed by Francis
Diffstat (limited to 'm4macros')
-rw-r--r--m4macros/ax_gssapi.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4macros/ax_gssapi.m4 b/m4macros/ax_gssapi.m4
index b9e25506ef..24d6366dd1 100644
--- a/m4macros/ax_gssapi.m4
+++ b/m4macros/ax_gssapi.m4
@@ -33,6 +33,9 @@ else
CXXFLAGS_SAVED="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS $GSSAPI_CFLAGS"
+ CPPFLAGS_SAVED="$CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
+
# Checks
AC_CHECK_HEADERS([gssapi/gssapi.h gssapi/gssapi_krb5.h],,
AC_MSG_ERROR([Missing required gss-api header files]))
@@ -67,6 +70,7 @@ else
AC_DEFINE([HAVE_GSS_STR_TO_OID], [1], [gss_str_to_oid is available])],
[AC_MSG_RESULT([no])])
CXXFLAGS="$CXXFLAGS_SAVED"
+ CPPFLAGS="$CPPFLAGS_SAVED"
LIBS="$LIBS_SAVED"
AC_MSG_CHECKING([checking for MIT implementation vs Heimdal])
if `${KRB5_CONFIG} --all | grep Vendor | grep -q Heimdal`; then