From: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Subject: [PATCH] enable cross compilation for expect
This patch was created by running ./configure on a modern Linux machine
and inserting the results into the cross compilation section of
each AC_MSG_CHECKING that bombed out with an error.
Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Index: expect-5.45/configure.in
===================================================================
--- expect-5.45.orig/configure.in 2013-11-14 07:59:58.732100595 -0600
+++ expect-5.45/configure.in 2013-11-14 07:59:58.732100595 -0600
- AC_MSG_ERROR([Expect can't be cross compiled])
AC_MSG_CHECKING([if any value exists for WNOHANG])
AC_DEFINE(WNOHANG_BACKUP_VALUE, 1)
- AC_MSG_ERROR([Expect can't be cross compiled])
+ AC_DEFINE(WNOHANG_BACKUP_VALUE, 1)
-, AC_MSG_WARN([Expect can't be cross compiled])
# HPUX7 has trouble with the big cat so split it
- AC_MSG_ERROR([Expect can't be cross compiled])
# mach systems have include files for unimplemented features
- AC_MSG_ERROR([Expect can't be cross compiled])
# now check for the new style ttys (not yet posix)