diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2004-07-11 06:53:32 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2004-07-11 06:53:32 +0000 |
| commit | 90e38d3b720dc23e8758f3b28b6ae7248e737ee4 (patch) | |
| tree | 28d20079a880029e7857491e954449e925778e46 /src/include/configure.in | |
| parent | ca8170a64365f267048bed62f126b4e1697ad823 (diff) | |
| download | krb5-90e38d3b720dc23e8758f3b28b6ae7248e737ee4.tar.gz krb5-90e38d3b720dc23e8758f3b28b6ae7248e737ee4.tar.xz krb5-90e38d3b720dc23e8758f3b28b6ae7248e737ee4.zip | |
* configure.in: Check krb5_cv_inet6_with_dinet6 as well as krb5_cv_inet6 when
deciding whether to test for in6addr_any. If gcc is in use, suppress pedantic
warnings about "inline".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16578 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/configure.in')
| -rw-r--r-- | src/include/configure.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/configure.in b/src/include/configure.in index b916b4606..98693c837 100644 --- a/src/include/configure.in +++ b/src/include/configure.in @@ -125,7 +125,7 @@ KRB5_AC_INET6 dnl dnl If compiling with IPv6 support, test if in6addr_any functions. dnl Irix 6.5.16 defines it, but lacks support in the C library. -if test $krb5_cv_inet6 = yes ; then +if test $krb5_cv_inet6 = yes || test "$krb5_cv_inet6_with_dinet6" = yes ; then AC_CACHE_CHECK([for in6addr_any definition in library], krb5_cv_var_in6addr_any, [AC_TRY_LINK([ @@ -230,6 +230,12 @@ fi AC_SUBST(maybe_kerberosIV) dnl AC_C_INLINE +AH_BOTTOM([ +#if defined(__GNUC__) && !defined(inline) +/* Silence gcc pedantic warnings about ANSI C. */ +# define inline __inline__ +#endif +]) dnl dnl Not used yet, but let's find out what we've got on the platforms dnl we're working with.... |
