* [COMMITTED] m4: Handle cross-compile situations in biarch.m4 tests.
@ 2014-07-14 12:36 Mark Wielaard
0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2014-07-14 12:36 UTC (permalink / raw)
To: elfutils-devel
[-- Attachment #1: Type: text/plain, Size: 1214 bytes --]
Reported-by: Leonard Crestez <lcrestez@ixiacom.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
---
m4/ChangeLog | 5 +++++
m4/biarch.m4 | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/m4/ChangeLog b/m4/ChangeLog
index c950e54..163ee73 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-14 Mark Wielaard <mjw@redhat.com>
+
+ * biarch.m4 (utrace_BIARCH): Set biarch-no for cross-compile using
+ AC_RUN_IFELSE extra argument.
+
2013-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* biarch.m4 (utrace_BIARCH): Call AC_MSG_WARN if !BIARCH.
diff --git a/m4/biarch.m4 b/m4/biarch.m4
index 04c8dba..c238d8d 100644
--- a/m4/biarch.m4
+++ b/m4/biarch.m4
@@ -40,7 +40,7 @@ AC_CACHE_CHECK([whether $biarch_CC makes executables we can run],
save_CC="$CC"
CC="$biarch_CC"
AC_RUN_IFELSE([AC_LANG_PROGRAM([], [])],
- utrace_cv_cc_biarch=yes, utrace_cv_cc_biarch=no)
+ utrace_cv_cc_biarch=yes, utrace_cv_cc_biarch=no, utrace_cv_cc_biarch=no)
CC="$save_CC"])], [utrace_cv_cc_biarch=no])
AS_IF([test $utrace_cv_cc_biarch != yes], [dnl
AC_MSG_WARN([not running biarch tests, $biarch_CC does not work])])])
--
1.7.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-14 12:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-14 12:36 [COMMITTED] m4: Handle cross-compile situations in biarch.m4 tests Mark Wielaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).