From aaa9acdcaa1da2ab7c7b7ab87c87c20fa2e0166d Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Thu, 12 Aug 2021 12:32:50 +0200 Subject: [PATCH] [#1990] Missing headers error more informative --- m4macros/ax_find_library.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4macros/ax_find_library.m4 b/m4macros/ax_find_library.m4 index 7ef77b42f9..ba2c595d5b 100644 --- a/m4macros/ax_find_library.m4 +++ b/m4macros/ax_find_library.m4 @@ -94,7 +94,7 @@ AC_DEFUN([AX_FIND_LIBRARY], [ libraries_found=true for i in ${list_of_headers}; do if test ! -f "${p}/include/${i}"; then - AX_ADD_TO_LIBRARY_WARNINGS([${library} headers not found in "${p}"]) + AX_ADD_TO_LIBRARY_WARNINGS([${library} header ${i} not found in ${p}]) headers_found=false break fi @@ -107,7 +107,7 @@ AC_DEFUN([AX_FIND_LIBRARY], [ LIBRARY_LIBS="-L${p}/lib -Wl,-rpath=${p}/lib" for i in ${list_of_libraries}; do if test ! -f "${p}/lib/${i}"; then - AX_ADD_TO_LIBRARY_WARNINGS([${library} libraries not found in "${p}"]) + AX_ADD_TO_LIBRARY_WARNINGS([${library} library ${i} not found in ${p}]) libraries_found=false break fi