From: Bruno Haible Date: Fri, 4 Oct 2019 11:20:12 +0000 (+0200) Subject: libxml: Simplify autoconf macro. X-Git-Tag: v0.21~153 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7c901aac4eb16ce5bea378117a9c448e9a93714;p=thirdparty%2Fgettext.git libxml: Simplify autoconf macro. * gnulib-local/m4/libxml.m4 (gl_LIBXML): Don't test for dlopen and shlload. The test for dlopen failed, because it would require linking with '-ldl'. The test for shlload failed, because the function on HP-UX is called 'shl_load' and it would require linking with '-ldld'. --- diff --git a/gnulib-local/m4/libxml.m4 b/gnulib-local/m4/libxml.m4 index 05b955077..2f80c3766 100644 --- a/gnulib-local/m4/libxml.m4 +++ b/gnulib-local/m4/libxml.m4 @@ -1,4 +1,4 @@ -# libxml.m4 serial 8 +# libxml.m4 serial 9 dnl Copyright (C) 2006, 2008, 2011, 2013, 2016, 2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -202,7 +202,7 @@ AC_DEFUN([gl_LIBXML], # include #endif ]) - AC_CHECK_FUNCS([dlopen getaddrinfo localtime shlload stat strftime]) + AC_CHECK_FUNCS([getaddrinfo localtime stat strftime]) dnl This relies on the va_copy replacement from the stdarg module. AC_DEFINE([VA_COPY], [va_copy], [Define to a working va_copy macro or replacement.])