strace/m4
Dmitry V. Levin acffeae467 mpers: fix cross-compiling
In cross builds, a target version of readelf has to be used
instead of a native one.

* configure.ac (AC_CHECK_TOOL): Add readelf.
* Makefile.am (READELF): New variable.
(mpers-m%.stamp): Pass it to $(srcdir)/mpers.sh.
* m4/mpers.m4 (st_MPERS): Pass READELF environment variable
to $srcdir/mpers_test.sh.
* mpers.sh (READELF): New variable.
Use it instead of readelf.
* maint/ioctls_sym.sh: Likewise.
* NEWS: Mention this fix.

Reported-by: Rolf Eike Beer <eb@emlix.com>
2017-11-25 01:55:44 +00:00
..
ax_code_coverage.m4 Update copyright headers 2017-09-05 10:09:10 +02:00
ax_prog_cc_for_build.m4 Add copyright headers 2017-05-22 17:33:51 +00:00
ax_valgrind_check.m4 Update copyright headers 2017-09-05 10:09:10 +02:00
mpers.m4 mpers: fix cross-compiling 2017-11-25 01:55:44 +00:00
st_save_restore_var.m4 m4: introduce st_SAVE_VAR and st_RESTORE_VAR macros 2016-12-07 10:58:24 +00:00
st_warn_cflags.m4 Move all gl_WARN_ADD calls to a separate m4 macro 2016-12-07 10:59:52 +00:00
warnings.m4 m4: prepare gl_WARN_ADD for simultaneous use of multiple compilers 2016-12-07 15:53:13 +00:00