configure testing for sockaddr_storage on solaris
jason.ornstein at sybase.com
Fri May 27 19:19:36 CEST 2005
I noticed today that the current CVS head won't compile on Solaris and
it looks like it is due to a configure change around the end of April.
This change happened between version 1.211 and 1.212 and is the check
for sockaddr_storage. The script seems to assume that this struct is
defined in /usr/include/netinet/in.h, but on Solaris and maybe other
OSs it isn't located there, but in /usr/include/sys/socket.h.
Google shows a few ways of doing this, but this link shows what might
be the closest to what you currently do
and it is doing
dnl Check for struct sockaddr_storage. Most IPv6-enabled hosts have it,
dnl AIX 4.3 is one known exception.
[if struct sockaddr_storage is defined]), ,
If that looks about right I can give it a test and submit a patch.
Is it safe to modify acinclude.m4?
More information about the Freeradius-Devel