view src/s/esix5r4.h @ 19018:f1f7c254aa77

Support auto-configuration of both Kerberos V4 and Kerberos V5 for movemail, including detection of V4 and V5 header files and libraries. Include <string.h> when STDC_HEADERS is defined, to get declarations of string functions. [KERBEROS5] (socket_connection): Support the current MIT Kerberos V5 API rather than the old one. [KERBEROS] (socket_connection): Change a constant name from SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict with a constant in a header file.
author Richard M. Stallman <rms@gnu.org>
date Mon, 28 Jul 1997 05:52:35 +0000
parents c1ddce9c1e2c
children 695cf19ef79e
line wrap: on
line source

/* Definitions for ESIX System V 4.0.4, a variant of V.4 for the 386.  */
/* Redone by zircon!joe@uunet.uu.net (Joe Kelsey).  */

#include "usg5-4.h"

#define SYSTEM_MALLOC 1
#if defined (HAVE_XFREE386)
# undef LIB_STANDARD
# define LIB_STANDARD -lc
#else
# define LIB_X11_LIB -lsocket -lc -lX11
# undef LIB_STANDARD
# ifdef ORDINARY_LINK
#   define LIB_STANDARD -lnsl -lns -lelf /usr/ucblib/libucb.a
# else
#   define LIB_STANDARD -lnsl -lns -lelf /usr/ucblib/libucb.a /usr/ccs/lib/crtn.o
# endif

/* Resolve BSD string functions in X Window library from libucb.a.  */
# define BSTRING

/* zircon!joe says this makes X windows work.  */
# define BROKEN_FIONREAD
#endif