mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-23 00:30:47 +02:00
build/aclocal.float.m4: detect 'strings' with AC_CHECK_TOOL
This way all binutils tools are detected with $CHOST prefix if exist. And strings is allowed to be substituted with STRINGS environment override, so 'llvm-strings' (or other) alternative can be used. Bug: https://bugs.gentoo.org/726200 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
parent
aee96d175d
commit
23b6e8bb57
1 changed files with 5 additions and 2 deletions
|
|
@ -31,10 +31,13 @@ int main() { return 0; }
|
|||
|
||||
]])], [
|
||||
|
||||
if strings -a conftest$ac_exeext | grep noonsees >/dev/null ; then
|
||||
# allow users to override default 'strings' with 'llvm-strings'
|
||||
# or ${CHOST}-strings.
|
||||
AC_CHECK_TOOL(STRINGS, strings)
|
||||
if $STRINGS -a conftest$ac_exeext | grep noonsees >/dev/null ; then
|
||||
ax_cv_c_float_words_bigendian=yes
|
||||
fi
|
||||
if strings -a conftest$ac_exeext | grep seesnoon >/dev/null ; then
|
||||
if $STRINGS -a conftest$ac_exeext | grep seesnoon >/dev/null ; then
|
||||
if test "$ax_cv_c_float_words_bigendian" = unknown; then
|
||||
ax_cv_c_float_words_bigendian=no
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue