mirror of
https://git.yoctoproject.org/poky
synced 2026-03-04 14:29:40 +01:00
Nedeed for gcc-runtime tests. Fixed build on multilib and add patch to remove !/depot/path/expect -f which caused rpm to puke on rfs generation (From OE-Core rev: 8f06d2975ed7d5db3828dc116c0df72d1161e8e5) Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
109 lines
2.1 KiB
Diff
109 lines
2.1 KiB
Diff
Allow cross compiling.
|
|
|
|
Signed-off-by: Anders Roxell <anders.roxell@enea.com>
|
|
Upstream-Status: Pending
|
|
---
|
|
diff -uNr a/configure.in b/configure.in
|
|
--- a/configure.in 2012-12-14 15:31:32.623180450 +0100
|
|
+++ b/configure.in 2012-12-14 15:53:34.518233519 +0100
|
|
@@ -481,7 +481,7 @@
|
|
,
|
|
AC_MSG_RESULT(no)
|
|
,
|
|
- AC_MSG_ERROR([Expect can't be cross compiled])
|
|
+ AC_MSG_RESULT(no)
|
|
)
|
|
|
|
AC_MSG_CHECKING([if any value exists for WNOHANG])
|
|
@@ -506,7 +506,9 @@
|
|
AC_MSG_RESULT(no)
|
|
AC_DEFINE(WNOHANG_BACKUP_VALUE, 1)
|
|
,
|
|
- AC_MSG_ERROR([Expect can't be cross compiled])
|
|
+ AC_MSG_RESULT(yes)
|
|
+ AC_DEFINE_UNQUOTED(WNOHANG_BACKUP_VALUE, `cat wnohang`)
|
|
+ rm -f wnohang
|
|
)
|
|
|
|
#
|
|
@@ -574,7 +576,8 @@
|
|
AC_DEFINE(REARM_SIG)
|
|
,
|
|
AC_MSG_RESULT(no)
|
|
-, AC_MSG_WARN([Expect can't be cross compiled])
|
|
+,
|
|
+ AC_MSG_RESULT(no)
|
|
)
|
|
|
|
# HPUX7 has trouble with the big cat so split it
|
|
@@ -725,7 +728,9 @@
|
|
,
|
|
AC_MSG_RESULT(no)
|
|
,
|
|
- AC_MSG_ERROR([Expect can't be cross compiled])
|
|
+ AC_MSG_RESULT(yes)
|
|
+ AC_DEFINE(HAVE_SGTTYB)
|
|
+ PTY_TYPE=sgttyb
|
|
)
|
|
|
|
# mach systems have include files for unimplemented features
|
|
@@ -749,7 +754,9 @@
|
|
,
|
|
AC_MSG_RESULT(no)
|
|
,
|
|
- AC_MSG_ERROR([Expect can't be cross compiled])
|
|
+ AC_DEFINE(HAVE_TERMIO)
|
|
+ PTY_TYPE=termios
|
|
+ AC_MSG_RESULT(yes)
|
|
)
|
|
|
|
# now check for the new style ttys (not yet posix)
|
|
@@ -771,7 +778,9 @@
|
|
,
|
|
AC_MSG_RESULT(no)
|
|
,
|
|
- AC_MSG_ERROR([Expect can't be cross compiled])
|
|
+ AC_DEFINE(HAVE_TERMIOS)
|
|
+ PTY_TYPE=termios
|
|
+ AC_MSG_RESULT(yes)
|
|
)
|
|
fi
|
|
|
|
@@ -794,7 +803,7 @@
|
|
,
|
|
AC_MSG_RESULT(no)
|
|
,
|
|
- AC_MSG_ERROR([Expect can't be cross compiled])
|
|
+ AC_MSG_RESULT(no)
|
|
)
|
|
|
|
AC_MSG_CHECKING([if TIOCGWINSZ in termios.h])
|
|
@@ -816,7 +825,7 @@
|
|
,
|
|
AC_MSG_RESULT(no)
|
|
,
|
|
- AC_MSG_ERROR([Expect can't be cross compiled])
|
|
+ AC_MSG_RESULT(no)
|
|
)
|
|
|
|
# finally check for Cray style ttys
|
|
@@ -837,7 +846,7 @@
|
|
,
|
|
AC_MSG_RESULT(no)
|
|
,
|
|
- AC_MSG_ERROR([Expect can't be cross compiled])
|
|
+ AC_MSG_RESULT(no)
|
|
)
|
|
|
|
#
|
|
@@ -889,7 +898,8 @@
|
|
AC_MSG_RESULT(yes),
|
|
AC_MSG_RESULT(no)
|
|
,
|
|
- AC_MSG_ERROR([Expect can't be cross compiled])
|
|
+ AC_DEFINE(HAVE_SV_TIMEZONE)
|
|
+ AC_MSG_RESULT(yes),
|
|
)
|
|
|
|
|