diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 36 |
1 files changed, 27 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index 91a0a72f3..a092aaadb 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.52 2002/04/23 20:45:56 stevesk Exp $ | 1 | # $Id: configure.ac,v 1.53 2002/04/25 18:17:05 stevesk Exp $ |
2 | 2 | ||
3 | AC_INIT | 3 | AC_INIT |
4 | AC_CONFIG_SRCDIR([ssh.c]) | 4 | AC_CONFIG_SRCDIR([ssh.c]) |
@@ -91,6 +91,22 @@ case "$host" in | |||
91 | *-*-darwin*) | 91 | *-*-darwin*) |
92 | AC_DEFINE(BROKEN_GETADDRINFO) | 92 | AC_DEFINE(BROKEN_GETADDRINFO) |
93 | ;; | 93 | ;; |
94 | *-*-hpux10.26) | ||
95 | if test -z "$GCC"; then | ||
96 | CFLAGS="$CFLAGS -Ae" | ||
97 | fi | ||
98 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | ||
99 | IPADDR_IN_DISPLAY=yes | ||
100 | AC_DEFINE(HAVE_SECUREWARE) | ||
101 | AC_DEFINE(USE_PIPES) | ||
102 | AC_DEFINE(LOGIN_NO_ENDOPT) | ||
103 | AC_DEFINE(LOGIN_NEEDS_UTMPX) | ||
104 | AC_DEFINE(DISABLE_SHADOW) | ||
105 | AC_DEFINE(DISABLE_UTMP) | ||
106 | AC_DEFINE(SPT_TYPE,SPT_PSTAT) | ||
107 | LIBS="$LIBS -lxnet -lsec -lsecpw" | ||
108 | disable_ptmx_check=yes | ||
109 | ;; | ||
94 | *-*-hpux10*) | 110 | *-*-hpux10*) |
95 | if test -z "$GCC"; then | 111 | if test -z "$GCC"; then |
96 | CFLAGS="$CFLAGS -Ae" | 112 | CFLAGS="$CFLAGS -Ae" |
@@ -235,7 +251,7 @@ mips-sony-bsd|mips-sony-newsos4) | |||
235 | no_dev_ptmx=1 | 251 | no_dev_ptmx=1 |
236 | AC_DEFINE(BROKEN_SYS_TERMIO_H) | 252 | AC_DEFINE(BROKEN_SYS_TERMIO_H) |
237 | AC_DEFINE(USE_PIPES) | 253 | AC_DEFINE(USE_PIPES) |
238 | AC_DEFINE(HAVE_SCO_PROTECTED_PW) | 254 | AC_DEFINE(HAVE_SECUREWARE) |
239 | AC_DEFINE(DISABLE_SHADOW) | 255 | AC_DEFINE(DISABLE_SHADOW) |
240 | AC_DEFINE(BROKEN_SAVED_UIDS) | 256 | AC_DEFINE(BROKEN_SAVED_UIDS) |
241 | AC_CHECK_FUNCS(getluid setluid) | 257 | AC_CHECK_FUNCS(getluid setluid) |
@@ -249,7 +265,7 @@ mips-sony-bsd|mips-sony-newsos4) | |||
249 | no_dev_ptmx=1 | 265 | no_dev_ptmx=1 |
250 | rsh_path="/usr/bin/rcmd" | 266 | rsh_path="/usr/bin/rcmd" |
251 | AC_DEFINE(USE_PIPES) | 267 | AC_DEFINE(USE_PIPES) |
252 | AC_DEFINE(HAVE_SCO_PROTECTED_PW) | 268 | AC_DEFINE(HAVE_SECUREWARE) |
253 | AC_DEFINE(DISABLE_SHADOW) | 269 | AC_DEFINE(DISABLE_SHADOW) |
254 | AC_CHECK_FUNCS(getluid setluid) | 270 | AC_CHECK_FUNCS(getluid setluid) |
255 | MANTYPE=man | 271 | MANTYPE=man |
@@ -1926,12 +1942,14 @@ if test ! -z "$MAIL" ; then | |||
1926 | fi | 1942 | fi |
1927 | 1943 | ||
1928 | if test -z "$no_dev_ptmx" ; then | 1944 | if test -z "$no_dev_ptmx" ; then |
1929 | AC_CHECK_FILE("/dev/ptmx", | 1945 | if test "x$disable_ptmx_check" != "xyes" ; then |
1930 | [ | 1946 | AC_CHECK_FILE("/dev/ptmx", |
1931 | AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX) | 1947 | [ |
1932 | have_dev_ptmx=1 | 1948 | AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX) |
1933 | ] | 1949 | have_dev_ptmx=1 |
1934 | ) | 1950 | ] |
1951 | ) | ||
1952 | fi | ||
1935 | fi | 1953 | fi |
1936 | AC_CHECK_FILE("/dev/ptc", | 1954 | AC_CHECK_FILE("/dev/ptc", |
1937 | [ | 1955 | [ |