Allow toolchain to determine nm

This commit is contained in:
Tamir Duberstein 2017-07-06 15:04:17 -04:00 коммит произвёл David Goldblatt
Родитель 96f1468221
Коммит 24766ccd5b
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -512,6 +512,11 @@ AN_PROGRAM([ar], [AC_PROG_AR])
AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL(AR, ar, :)])
AC_PROG_AR
AN_MAKEVAR([NM], [AC_PROG_NM])
AN_PROGRAM([nm], [AC_PROG_NM])
AC_DEFUN([AC_PROG_NM], [AC_CHECK_TOOL(NM, nm, :)])
AC_PROG_NM
AC_PROG_AWK
dnl Platform-specific settings. abi and RPATH can probably be determined
@ -523,7 +528,7 @@ dnl definitions need to be seen before any headers are included, which is a pain
dnl to make happen otherwise.
default_retain="0"
maps_coalesce="1"
DUMP_SYMS="nm -a"
DUMP_SYMS="${NM} -a"
SYM_PREFIX=""
case "${host}" in
*-*-darwin* | *-*-ios*)