/Volumes/pr-14802-fix4/openwrt/build_dir/host/elfutils-0.189$ grep -r 'reallocarray' . ./configure~:ac_fn_check_decl "$LINENO" "reallocarray" "ac_cv_have_decl_reallocarray" "#define _GNU_SOURCE ./configure~:if test "x$ac_cv_have_decl_reallocarray" = xyes ./configure.ac:AC_CHECK_DECLS([reallocarray],[],[], ./config.h:/* Define to 1 if you have the declaration of `reallocarray', and to 0 if you ./configure:ac_fn_check_decl "$LINENO" "reallocarray" "ac_cv_have_decl_reallocarray" "#define _GNU_SOURCE ./configure:if test "x$ac_cv_have_decl_reallocarray" = xyes ./autom4te.cache/traces.0: random random_r reallocarray realpath rpmatch secure_getenv setenv ./autom4te.cache/traces.0: random random_r reallocarray realpath rpmatch secure_getenv setenv ./autom4te.cache/traces.1:m4trace:configure.ac:472: -1- AH_OUTPUT([HAVE_DECL_REALLOCARRAY], [/* Define to 1 if you have the declaration of `reallocarray\', and to 0 if you ./autom4te.cache/output.0: for gl_func in _Exit aligned_alloc atoll canonicalize_file_name free getloadavg getprogname getsubopt grantpt initstate initstate_r mbstowcs mbtowc mkdtemp mkostemp mkostemps mkstemp mkstemps posix_memalign posix_openpt ptsname ptsname_r qsort_r random random_r reallocarray realpath rpmatch secure_getenv setenv setstate setstate_r srandom srandom_r strtod strtol strtold strtoll strtoul strtoull unlockpt unsetenv; do ./autom4te.cache/output.0:ac_fn_check_decl "$LINENO" "reallocarray" "ac_cv_have_decl_reallocarray" "#define _GNU_SOURCE ./autom4te.cache/output.0:if test "x$ac_cv_have_decl_reallocarray" = xyes ./autom4te.cache/output.1:ac_fn_check_decl "$LINENO" "reallocarray" "ac_cv_have_decl_reallocarray" "#define _GNU_SOURCE ./autom4te.cache/output.1:if test "x$ac_cv_have_decl_reallocarray" = xyes ./autom4te.cache/traces.3:m4trace:configure.ac:472: -1- AH_OUTPUT([HAVE_DECL_REALLOCARRAY], [/* Define to 1 if you have the declaration of `reallocarray\', and to 0 if you ./autom4te.cache/traces.2:m4trace:configure.ac:472: -1- AH_OUTPUT([HAVE_DECL_REALLOCARRAY], [/* Define to 1 if you have the declaration of `reallocarray\', and to 0 if you ./autom4te.cache/output.3:ac_fn_check_decl "$LINENO" "reallocarray" "ac_cv_have_decl_reallocarray" "#define _GNU_SOURCE ./autom4te.cache/output.3:if test "x$ac_cv_have_decl_reallocarray" = xyes ./autom4te.cache/output.2:ac_fn_check_decl "$LINENO" "reallocarray" "ac_cv_have_decl_reallocarray" "#define _GNU_SOURCE ./autom4te.cache/output.2:if test "x$ac_cv_have_decl_reallocarray" = xyes ./config.h.in:/* Define to 1 if you have the declaration of `reallocarray', and to 0 if you ./debuginfod/debuginfod-client.c: realloc_ptr = reallocarray(server_url_list, num_urls, ./ChangeLog: * configure.ac (AC_CHECK_DECLS): Add reallocarray check. ./config.h.in~:/* Define to 1 if you have the declaration of `reallocarray', and to 0 if you ./lib/ChangeLog: * system.h (reallocarray): New static inline fallback function. ./lib/system.h:reallocarray (void *ptr, size_t nmemb, size_t size) ./m4/stdlib_h.m4: random random_r reallocarray realpath rpmatch secure_getenv setenv ./config.log:configure:40334: checking whether reallocarray is declared ./config.log:conftest.c:259:10: error: use of undeclared identifier 'reallocarray' ./config.log: (void) reallocarray; ./config.log:| #ifndef reallocarray ./config.log:| (void) reallocarray; ./config.log:| (void) reallocarray; ./config.log:ac_cv_have_decl_reallocarray=no ./libgnu/stdlib.in.h:# undef reallocarray ./libgnu/stdlib.in.h:# define reallocarray rpl_reallocarray ./libgnu/stdlib.in.h:_GL_FUNCDECL_RPL (reallocarray, void *, ./libgnu/stdlib.in.h:_GL_CXXALIAS_RPL (reallocarray, void *, ./libgnu/stdlib.in.h:_GL_FUNCDECL_SYS (reallocarray, void *, ./libgnu/stdlib.in.h:_GL_CXXALIAS_SYS (reallocarray, void *, ./libgnu/stdlib.in.h:_GL_CXXALIASWARN (reallocarray); ./libgnu/stdlib.in.h:# undef reallocarray ./libgnu/stdlib.in.h:_GL_WARN_ON_USE (reallocarray, "reallocarray is not portable - " ./libgnu/stdlib.in.h: "use gnulib module reallocarray for portability"); ./libgnu/stdlib.h:# undef reallocarray ./libgnu/stdlib.h:# define reallocarray rpl_reallocarray ./libgnu/stdlib.h:_GL_FUNCDECL_RPL (reallocarray, void *, ./libgnu/stdlib.h:_GL_CXXALIAS_RPL (reallocarray, void *, ./libgnu/stdlib.h:_GL_FUNCDECL_SYS (reallocarray, void *, ./libgnu/stdlib.h:_GL_CXXALIAS_SYS (reallocarray, void *, ./libgnu/stdlib.h:_GL_CXXALIASWARN (reallocarray); ./libgnu/stdlib.h:# undef reallocarray ./libgnu/stdlib.h:_GL_WARN_ON_USE (reallocarray, "reallocarray is not portable - " ./libgnu/stdlib.h: "use gnulib module reallocarray for portability"); ./aclocal.m4: random random_r reallocarray realpath rpmatch secure_getenv setenv