aclocal.m4: fix the comment contradicts the previous line
Changed to "the nm(1) utility or an equivalent is available, and its name is defined by the $NM variable. Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
parent
f3396d502d
commit
d827f674cc
|
|
@ -23,10 +23,10 @@ AC_SUBST(install_suffix)
|
|||
# ------------------------------
|
||||
# Sub-macro for AX_C_UNDERSCORES_LEADING and AX_C_UNDERSCORES_TRAILING.
|
||||
# Unwarranted assumptions:
|
||||
# - the object file produced by AC_COMPILE_IFELSE is called "conftest.$ac_objext"
|
||||
# - the nm(1) utility is available, and its name is "nm".
|
||||
# Here use $NM because they can cause issue in cross-compiling and because is
|
||||
# not possible use a different NM implementation (like llvm-nm)
|
||||
# - the object file produced by AC_COMPILE_IFELSE is called
|
||||
# "conftest.$ac_objext"
|
||||
# - the nm(1) utility or an equivalent is available, and its name
|
||||
# is defined by the $NM variable.
|
||||
AC_DEFUN([_AX_C_UNDERSCORES_MATCH_IF],
|
||||
[AC_COMPILE_IFELSE([AC_LANG_SOURCE([void underscore(void){}])],
|
||||
[AS_IF([$NM conftest.$ac_objext|grep $1 >/dev/null 2>/dev/null],[$2],[$3])],
|
||||
|
|
|
|||
Loading…
Reference in New Issue