summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac18
1 files changed, 17 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index dcb44915d..4baaa62a8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1201,8 +1201,24 @@ mips-sony-bsd|mips-sony-newsos4)
1201 1201
1202*-*-ultrix*) 1202*-*-ultrix*)
1203 AC_DEFINE([BROKEN_GETGROUPS], [1], [getgroups(0,NULL) will return -1]) 1203 AC_DEFINE([BROKEN_GETGROUPS], [1], [getgroups(0,NULL) will return -1])
1204 AC_DEFINE([NEED_SETPGRP]) 1204 AC_DEFINE([NEED_SETPGRP], [1], [Need setpgrp to for controlling tty])
1205 AC_DEFINE([HAVE_SYS_SYSLOG_H], [1], [Force use of sys/syslog.h on Ultrix]) 1205 AC_DEFINE([HAVE_SYS_SYSLOG_H], [1], [Force use of sys/syslog.h on Ultrix])
1206 AC_DEFINE([DISABLE_UTMPX], [1], [Disable utmpx])
1207 # DISABLE_FD_PASSING so that we call setpgrp as root, otherwise we
1208 # don't get a controlling tty.
1209 AC_DEFINE([DISABLE_FD_PASSING], [1], [Need to call setpgrp as root])
1210 AC_DEFINE([realpath(x, y)], [(sftp_realpath((x),(y)))], [no realpath])
1211 # On Ultrix netinet/ip.h is not protected against multiple includes,
1212 # so we create our own wrapper and put it where the compiler will
1213 # find it.
1214 AC_MSG_WARN([creating compat wrapper for netinet/ip.h])
1215 mkdir -p netinet
1216 cat >netinet/ip.h <<EOD
1217#ifndef _SSH_COMPAT_NETINET_IP_H
1218#define _SSH_COMPAT_NETINET_IP_H
1219#include "/usr/include/netinet/ip.h"
1220#endif
1221EOD
1206 ;; 1222 ;;
1207 1223
1208*-*-lynxos) 1224*-*-lynxos)