]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
libxml: Simplify autoconf macro.
authorBruno Haible <bruno@clisp.org>
Fri, 4 Oct 2019 11:20:12 +0000 (13:20 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 4 Oct 2019 11:20:12 +0000 (13:20 +0200)
* 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'.

gnulib-local/m4/libxml.m4

index 05b9550772f129a45b34b22b5e8995ab0f5ebc19..2f80c37662f54772a62adde00338764fea106817 100644 (file)
@@ -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 <arpa/nameser.h>
       #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.])