1 diff -u -r ../expect5.45/configure.in ./configure.in
2 --- ../expect5.45/configure.in 2010-08-27 17:51:53.000000000 -0400
3 +++ ./configure.in 2016-04-18 00:23:36.618635535 -0400
7 AC_MSG_CHECKING([stty to use])
8 -if test -r /usr/local/bin/stty ; then
9 - STTY_BIN=/usr/local/bin/stty
13 +STTY_BIN=@TERMUX_PREFIX@/bin/applets/stty
14 AC_MSG_RESULT($STTY_BIN)
16 AC_MSG_CHECKING([if stty reads stdout])
21 - AC_MSG_ERROR([Expect can't be cross compiled])
25 AC_MSG_CHECKING([if any value exists for WNOHANG])
28 AC_DEFINE(WNOHANG_BACKUP_VALUE, 1)
30 - AC_MSG_ERROR([Expect can't be cross compiled])
32 + AC_DEFINE_UNQUOTED(WNOHANG_BACKUP_VALUE, 1)
40 -, AC_MSG_WARN([Expect can't be cross compiled])
45 # HPUX7 has trouble with the big cat so split it
50 - AC_MSG_ERROR([Expect can't be cross compiled])
54 # mach systems have include files for unimplemented features
59 - AC_MSG_ERROR([Expect can't be cross compiled])
63 # now check for the new style ttys (not yet posix)
68 - AC_MSG_ERROR([Expect can't be cross compiled])
69 + AC_DEFINE(HAVE_TERMIOS)
79 - AC_MSG_ERROR([Expect can't be cross compiled])
80 + AC_DEFINE(HAVE_TCGETS_OR_TCGETA_IN_TERMIOS_H)
84 AC_MSG_CHECKING([if TIOCGWINSZ in termios.h])
89 - AC_MSG_ERROR([Expect can't be cross compiled])
90 + AC_DEFINE(HAVE_TIOCGWINSZ_IN_TERMIOS_H)
94 # finally check for Cray style ttys
99 - AC_MSG_ERROR([Expect can't be cross compiled])
105 AC_HAVE_FUNCS(getpty)
107 # following test sets SETPGRP_VOID if setpgrp takes 0 args, else takes 2
109 +cat >>confdefs.h <<\_ACEOF
110 +#define SETPGRP_VOID 1
114 # check for timezones
119 - AC_MSG_ERROR([Expect can't be cross compiled])