with Cray (mostly #ifdef renaming). Patch by wendyp@cray.com.
20020722
- (bal) AIX tty data limiting patch fix by leigh@solinno.co.uk
- (stevesk) [xmmap.c] missing prototype for fatal()
+ - (bal) [configure.ac defines.h loginrec.c sshd.c sshpty.c] Partial sync
+ with Cray (mostly #ifdef renaming). Patch by wendyp@cray.com.
20020721
- (stevesk) [auth-pam.c] merge cosmetic changes from solar's
AC_CHECK_FUNCS(getluid setluid)
MANTYPE=man
;;
+*-*-unicosmk*)
+ no_libsocket=1
+ no_libnsl=1
+ AC_DEFINE(USE_PIPES)
+ AC_DEFINE(DISABLE_FD_PASSING)
+ LDFLAGS="$LDFLAGS"
+ LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
+ MANTYPE=cat
*-*-unicos*)
no_libsocket=1
no_libnsl=1
AC_DEFINE(USE_PIPES)
AC_DEFINE(DISABLE_FD_PASSING)
- LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal,-L/usr/local/lib"
- LIBS="$LIBS -lgen -lrsc"
+ LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal"
+ LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
+ MANTYPE=cat
;;
*-dec-osf*)
AC_MSG_CHECKING(for Digital Unix SIA)
# if (SIZEOF_SHORT_INT == 2)
typedef short int int16_t;
# else
-# ifdef _CRAY
+# if defined(_CRAY) && !defined(_CRAYSV2)
# if (SIZEOF_SHORT_INT == 4)
typedef short int16_t;
# else
# if (SIZEOF_INT == 4)
typedef int int32_t;
# else
-# ifdef _CRAY
+# if defined(_CRAY) && !defined(_CRAYSV2)
typedef long int32_t;
# else
# error "32 bit int type not found."
# if (SIZEOF_SHORT_INT == 2)
typedef unsigned short int u_int16_t;
# else
-# ifdef _CRAY
+# if defined(_CRAY) && !defined(_CRAYSV2)
# if (SIZEOF_SHORT_INT == 4)
typedef unsigned short u_int16_t;
# else
# if (SIZEOF_INT == 4)
typedef unsigned int u_int32_t;
# else
-# ifdef _CRAY
+# if defined(_CRAY) && !defined(_CRAYSV2)
typedef unsigned long u_int32_t;
# else
# error "32 bit int type not found."
switch (li->type) {
case LTYPE_LOGIN:
ut->ut_type = USER_PROCESS;
-#ifdef _CRAY
+#if defined(_CRAY) && !defined(_CRAYSV2)
cray_set_tmpdir(ut);
#endif
break;
case LTYPE_LOGOUT:
ut->ut_type = DEAD_PROCESS;
-#ifdef _CRAY
+#if defined(_CRAY) && !defined(_CRAYSV2)
cray_retain_utmp(ut, li->pid);
#endif
break;
SYSLOG_FACILITY_AUTH : options.log_facility,
!inetd_flag);
-#ifdef _CRAY
+#if defined(_CRAY) && !defined(_CRAYSV2)
/* Cray can define user privs drop all prives now!
* Not needed on PRIV_SU systems!
*/
}
return 1;
#else /* HAVE_DEV_PTS_AND_PTC */
-#ifdef _CRAY
+#if defined(_CRAY) && !defined(_CRAYSV2)
char buf[64];
int i;
int highpty;
void *old;
#endif /* USE_VHANGUP */
-#ifdef _CRAY
+#if defined(_CRAY) && !defined(_CRAYSV2)
if (setsid() < 0)
error("setsid: %.100s", strerror(errno));