summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-04-25 10:16:35 +0000
committerGitHub <noreply@github.com>2023-04-25 10:16:35 +0000
commit008a582741617e2d7d5aa4aab1e8ddfdec0067d9 (patch)
tree77109775d02a2e141ac2ee49dd1d7d4d0b7a2764 /configure.ac
parent99c24238981b7b1084313aca8f5c493bb46f302c (diff)
parent1ab6930d154b4bd6cee8f2751dd4429d92a4a67d (diff)
downloadpatchelf-master.tar.gz
493: Respect prefixed tools used with the tests when cross-compiling r=Mic92 a=heirecka Co-authored-by: Heiko Becker <heirecka@exherbo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4129920..fee6302 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,9 +7,11 @@ AC_CONFIG_MACRO_DIR([m4])
AC_CHECK_TOOL([STRIP], [strip])
# Those are only used in tests, hence we gracefully degrate if they are not found.
+AC_CHECK_TOOL([NM], [nm], [nm])
AC_CHECK_TOOL([OBJDUMP], [objdump], [objdump])
AC_CHECK_TOOL([OBJCOPY], [objcopy], [objcopy])
AC_CHECK_TOOL([READELF], [readelf], [readelf])
+AC_CHECK_TOOL([STRINGS], [strings], [strings])
AM_PROG_CC_C_O
AC_PROG_CXX