]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
configure: Remove rawmemchr decl check
authorMark Wielaard <mark@klomp.org>
Sun, 28 Jun 2026 16:41:55 +0000 (18:41 +0200)
committerMark Wielaard <mark@klomp.org>
Sun, 28 Jun 2026 16:44:42 +0000 (18:44 +0200)
Commit b35e1ec43e93 ("libelf: Fix out-of-bounds read in elf_getarsym
for unterminated symbol table") removed the last usage of rawmemchr
from the codebase so we no longer need to check for it.

* configure.ac: Remove rawmemchr AC_CHECK_DECLS.

Signed-off-by: Mark Wielaard <mark@klomp.org>
configure.ac

index 0266ffd8b2be83209f5fcf0d056e52580e26c697..29440f29b86bc1e7c3b8cdab07ad1ff4a9dd26b0 100644 (file)
@@ -512,7 +512,7 @@ AM_CONDITIONAL(USE_ZSTD_COMPRESS, test "x$with_zstd_compress" = "xyes")
 AS_IF([test "x$with_zstd_compress" = "xyes"],
       [AC_DEFINE([USE_ZSTD_COMPRESS], [1], [zstd compression support])])
 
-AC_CHECK_DECLS([memrchr, rawmemchr],[],[],
+AC_CHECK_DECLS([memrchr],[],[],
                [#define _GNU_SOURCE
                 #include <string.h>])
 AC_CHECK_DECLS([powerof2],[],[],[#include <sys/param.h>])