Send inn-committers mailing list submissions to inn-committers@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/inn-committers or, via email, send a message with subject or body 'help' to inn-committers-requ...@lists.isc.org You can reach the person managing the list at inn-committers-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of inn-committers digest..." Today's Topics: 1. INN commit: trunk/m4 (krb5.m4) (INN Commit) ---------------------------------------------------------------------- Message: 1 Date: Sat, 5 Jul 2014 10:13:25 -0700 (PDT) From: INN Commit <r...@isc.org> To: inn-committ...@isc.org Subject: INN commit: trunk/m4 (krb5.m4) Message-ID: <20140705171326.13c7067...@hope.eyrie.org> Date: Saturday, July 5, 2014 @ 10:13:25 Author: iulius Revision: 9647 Sync with latest rra-c-util 5.5 KRB5_CPPFLAGS_GCC Makefile variable can now be used, if needed, in combination with gcc warnings (such as the make warnings target) to suppress warnings from Kerberos headers in non-system paths. Modified: trunk/m4/krb5.m4 ---------+ krb5.m4 | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) Modified: krb5.m4 =================================================================== --- krb5.m4 2014-06-04 19:13:47 UTC (rev 9646) +++ krb5.m4 2014-07-05 17:13:25 UTC (rev 9647) @@ -18,6 +18,12 @@ dnl If KRB5_CPPFLAGS, KRB5_LDFLAGS, or KRB5_LIBS are set before calling these dnl macros, their values will be added to whatever the macros discover. dnl +dnl KRB5_CPPFLAGS_GCC will be set to the same value as KRB5_CPPFLAGS but with +dnl any occurrences of -I changed to -isystem. This may be useful to suppress +dnl warnings from the Kerberos header files when building with GCC and +dnl aggressive warning flags. Be aware that this change will change the +dnl compiler header file search order as well. +dnl dnl Provides the INN_LIB_KRB5_OPTIONAL macro, which should be used if Kerberos dnl support is optional. In this case, Kerberos libraries are mandatory if dnl --with-krb5 is given, and will not be probed for if --without-krb5 is @@ -45,7 +51,7 @@ dnl package, available at <http://www.eyrie.org/~eagle/software/rra-c-util/>. dnl dnl Written by Russ Allbery <ea...@eyrie.org> -dnl Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 +dnl Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013, 2014 dnl The Board of Trustees of the Leland Stanford Junior University dnl dnl This file is free software; the authors give unlimited permission to copy @@ -240,6 +246,10 @@ AC_DEFUN([_INN_LIB_KRB5_INTERNAL], [AC_REQUIRE([INN_ENABLE_REDUCED_DEPENDS]) inn_krb5_incroot= + AC_SUBST([KRB5_CPPFLAGS]) + AC_SUBST([KRB5_CPPFLAGS_GCC]) + AC_SUBST([KRB5_LDFLAGS]) + AC_SUBST([KRB5_LIBS]) AS_IF([test x"$inn_krb5_includedir" != x], [inn_krb5_incroot="$inn_krb5_includedir"], [AS_IF([test x"$inn_krb5_root" != x], @@ -254,7 +264,8 @@ inn_krb5_uses_com_err=false AS_CASE([$KRB5_LIBS], [*-lcom_err*], [inn_krb5_uses_com_err=true]) AM_CONDITIONAL([KRB5_USES_COM_ERR], - [test x"$inn_krb5_uses_com_err" = xtrue])]) + [test x"$inn_krb5_uses_com_err" = xtrue]) + KRB5_CPPFLAGS_GCC=`echo "$KRB5_CPPFLAGS" | sed -e 's/-I/-isystem /g'`]) dnl The main macro for packages with mandatory Kerberos support. AC_DEFUN([INN_LIB_KRB5], @@ -262,9 +273,6 @@ inn_krb5_libdir= inn_krb5_includedir= inn_use_KRB5=true - AC_SUBST([KRB5_CPPFLAGS]) - AC_SUBST([KRB5_LDFLAGS]) - AC_SUBST([KRB5_LIBS]) AC_ARG_WITH([krb5], [AS_HELP_STRING([--with-krb5=DIR], @@ -290,9 +298,6 @@ inn_krb5_libdir= inn_krb5_includedir= inn_use_KRB5= - AC_SUBST([KRB5_CPPFLAGS]) - AC_SUBST([KRB5_LDFLAGS]) - AC_SUBST([KRB5_LIBS]) AC_ARG_WITH([krb5], [AS_HELP_STRING([--with-krb5@<:@=DIR@:>@], ------------------------------ _______________________________________________ inn-committers mailing list inn-committers@lists.isc.org https://lists.isc.org/mailman/listinfo/inn-committers End of inn-committers Digest, Vol 65, Issue 1 *********************************************