1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-21 23:27:39 +01:00

Remove AC_FUNC_MEMCMP check from configure.in

As far as I can tell, AC_FUNC_MEMCMP is useless for us. It checks for
some obscure `memcmp' bugs on some ancient systems, and gives us a
chance to provide a working `memcmp'. Since we're not shipping with a
local copy of a `memcmp', it makes no difference whether or not the test
fails. And when cross-compiling, the test automatically fails, as it
tries to compile and run a test program:

    checking for working memcmp... no

Quoting autoconf docs: ``This macro is obsolescent, as current systems
have a working memcmp. New programs need not use this macro.''
This commit is contained in:
Tommi Rantala 2012-08-31 11:53:53 +03:00
parent f93e1e93be
commit eca102fd50

View file

@ -68,7 +68,6 @@ PT_STEP, PT_SYSCALL], [], [],
])
dnl Checks for library functions.
AC_FUNC_MEMCMP
AC_CHECK_FUNCS(dl_iterate_phdr dl_phdr_removals_counter dlmodinfo getunwind \
ttrace mincore)
is_gcc_m64() {