Improve check for sa_len

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12276 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-01-30 16:02:47 +00:00
parent 2700f7ed6e
commit 04940f531e
3 changed files with 605 additions and 491 deletions

View file

@ -6,6 +6,7 @@
support if the O/S supports it. Converted to use standard debug
logging keyed on NSRunLoop. Fixed poll code to call any available
event handler when an error occurs on a descriptor.
* configure.in: Improve check for sa_len
2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/gnustep/base/GSIMap.h: Fix bug cleaning table and add

1089
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -137,7 +137,11 @@ fi
#--------------------------------------------------------------------
AC_MSG_CHECKING(for gdomap network details)
AC_MSG_CHECKING(for variable length socket addresses)
AC_TRY_COMPILE([#include <net/if.h>],
AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
],
[struct ifreq s; s.ifr_addr.sa_len = 0;],
sa_len=1, sa_len=0)
if test $sa_len = 1; then