diff options
author | Damien Miller <djm@mindrot.org> | 2000-07-11 09:29:50 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-07-11 09:29:50 +1000 |
commit | 2ae714f44a0757b8c9771aa686ead98738a3f960 (patch) | |
tree | c324db7a3c751c29c7da83204127be3fdccb82b7 | |
parent | 65964d60827c9927ab9569a8a4bcd61459651e3a (diff) |
- (djm) ReliantUNIX support from Udo Schweigert <ust@cert.siemens.de>
-rw-r--r-- | CREDITS | 1 | ||||
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | acconfig.h | 3 | ||||
-rw-r--r-- | configure.in | 8 | ||||
-rw-r--r-- | packet.c | 4 |
5 files changed, 15 insertions, 2 deletions
@@ -60,6 +60,7 @@ Thomas Neumann <tom@smart.ruhr.de> - Shadow passwords Tom Bertelson's <tbert@abac.com> - AIX auth fixes Tor-Ake Fransson <torake@hotmail.com> - AIX support Tudor Bosman <tudorb@jm.nu> - MD5 password support +Udo Schweigert <ust@cert.siemens.de> - ReliantUNIX support Zack Weinberg <zack@wolery.cumb.org> - GNOME askpass enhancement Apologies to anyone I have missed. @@ -1,6 +1,7 @@ 20000711 - (djm) Fixup for AIX getuserattr() support from Tom Bertelson <tbert@abac.com> + - (djm) ReliantUNIX support from Udo Schweigert <ust@cert.siemens.de> 20000709 - (djm) Only enable PAM_TTY kludge for Linux. Problem report from @@ -6,6 +6,9 @@ @TOP@ +/* Define if your system choked on IP TOS setting */ +#undef IP_TOS_IS_BROKEN + /* Define if you have the getuserattr function. */ #undef HAVE_GETUSERATTR diff --git a/configure.in b/configure.in index f4f47cd4..52184db5 100644 --- a/configure.in +++ b/configure.in @@ -138,6 +138,14 @@ case "$host" in CFLAGS="$CFLAGS -DSUNOS4" AC_CHECK_FUNCS(getpwanam) ;; +*-sni-sysv*) + CFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/ucblib" + MANTYPE='$(CATMAN)' + AC_DEFINE(IP_TOS_IS_BROKEN) + mansubdir=cat + LIBS="$LIBS -lgen -lnsl -lsocket -lucb" + ;; *-*-sysv*) CFLAGS="$CFLAGS -I/usr/local/include" LDFLAGS="$LDFLAGS -L/usr/local/lib" @@ -1237,7 +1237,7 @@ packet_set_interactive(int interactive, int keepalives) * Set IP options for an interactive connection. Use * IPTOS_LOWDELAY and TCP_NODELAY. */ -#ifdef IP_TOS +#if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN) int lowdelay = IPTOS_LOWDELAY; if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, (void *) &lowdelay, sizeof(lowdelay)) < 0) @@ -1251,7 +1251,7 @@ packet_set_interactive(int interactive, int keepalives) * Set IP options for a non-interactive connection. Use * IPTOS_THROUGHPUT. */ -#ifdef IP_TOS +#if defined(IP_TOS) && !defined(IP_TOS_IS_BROKEN) int throughput = IPTOS_THROUGHPUT; if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, (void *) &throughput, sizeof(throughput)) < 0) |