From: Kim F. Storm Date: Mon, 18 Mar 2002 14:09:57 +0000 (+0000) Subject: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. X-Git-Tag: ttn-vms-21-2-B4~16100 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=28c6e94f3a789f57624fa08665c7a4f9d3706ed4;p=emacs.git Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. Remove explicit GNU_LINUX settings for datagram support. --- diff --git a/src/process.c b/src/process.c index 033511d99ae..8c4de90638c 100644 --- a/src/process.c +++ b/src/process.c @@ -59,7 +59,7 @@ Boston, MA 02111-1307, USA. */ #endif /* NEED_NET_ERRNO_H */ /* Are local (unix) sockets supported? */ -#ifndef NO_SOCKETS_IN_FILE_SYSTEM +#if defined (HAVE_SYS_UN_H) && !defined (NO_SOCKETS_IN_FILE_SYSTEM) #if !defined (AF_LOCAL) && defined (AF_UNIX) #define AF_LOCAL AF_UNIX #endif @@ -217,14 +217,6 @@ int update_tick; "non-destructive" select. So we require either native select, or emulation of select using FIONREAD. */ -#ifdef GNU_LINUX -/* These are not yet in configure.in (they will be eventually) - -- so add them here temporarily. ++kfs */ -#define HAVE_RECVFROM -#define HAVE_SENDTO -#define HAVE_GETSOCKNAME -#endif - #ifdef BROKEN_DATAGRAM_SOCKETS #undef DATAGRAM_SOCKETS #else