]> git.ipfire.org Git - thirdparty/asterisk.git/commit
configure.ac: use AC_PATH_TOOL for nm
authorNathaniel Wesley Filardo <nwfilardo@gmail.com>
Thu, 27 Nov 2025 17:21:12 +0000 (17:21 +0000)
committerNathaniel Wesley Filardo <nwfilardo@gmail.com>
Tue, 30 Dec 2025 15:29:46 +0000 (15:29 +0000)
commitddee4048a9ffb016025651e365bccff18930336c
treec93b8a8fc96398765ba657b6c6afaafff2c0bf19
parent6c129960205e764b7e32b0e85bafa37d7362046d
configure.ac: use AC_PATH_TOOL for nm

`nm` might, especially in cross-compilation scenarios, be available but prefixed with the target triple. So: use `AC_PATH_TOOL` rather than `AC_PATH_PROG` to find it. (See https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/Generic-Programs.html .)

Found and proposed fix tested by cross-compiling Asterisk using Nixpkgs on x86_64 targeting aarch64. :)
configure
configure.ac