mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Fixes for variable length socket addresses.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12215 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7f0e0f9b20
commit
d8dc2bc2b4
6 changed files with 363 additions and 266 deletions
19
configure.in
19
configure.in
|
@ -132,6 +132,25 @@ if test $ac_cv_header_objc_objc_h = no; then
|
|||
AC_MSG_ERROR(Could not find Objective-C headers)
|
||||
fi
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Check for strange network stuff used by gdomap
|
||||
#--------------------------------------------------------------------
|
||||
AC_MSG_CHECKING(for gdomap network details)
|
||||
AC_MSG_CHECKING(for variable length socket addresses)
|
||||
AC_TRY_COMPILE([#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
|
||||
AC_MSG_RESULT([found])
|
||||
AC_DEFINE(HAVE_SA_LEN)
|
||||
else
|
||||
AC_MSG_RESULT([not found])
|
||||
fi
|
||||
|
||||
#
|
||||
|
||||
#
|
||||
AC_MSG_CHECKING(for objc threading flags)
|
||||
#--------------------------------------------------------------------
|
||||
# Check for thread flags for libobjc.
|
||||
#--------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue