From 5f59a34ab747dde8ede7357f3431bf06bd6002fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 8 Mar 2026 17:28:33 +0100 Subject: New upstream version 1.4.2 --- gnulib-m4/relocatable-lib.m4 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'gnulib-m4/relocatable-lib.m4') diff --git a/gnulib-m4/relocatable-lib.m4 b/gnulib-m4/relocatable-lib.m4 index 5efed521..d270ad97 100644 --- a/gnulib-m4/relocatable-lib.m4 +++ b/gnulib-m4/relocatable-lib.m4 @@ -1,6 +1,6 @@ # relocatable-lib.m4 -# serial 8 -dnl Copyright (C) 2003, 2005-2007, 2009-2025 Free Software Foundation, Inc. +# serial 9 +dnl Copyright (C) 2003, 2005-2007, 2009-2026 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -31,6 +31,14 @@ AC_DEFUN([gl_RELOCATABLE_LIBRARY_BODY], [Define to 1 if the package shall run at any location in the file system.]) fi + dnl Determine whether dladdr() exists in libc. + gl_LIBDL + if test -z "$LIBDL"; then + AC_CHECK_FUNC([dladdr], + [AC_DEFINE([HAVE_DLADDR_IN_LIBC], [1], + [Define to 1 if dladdr exists and is defined in libc.]) + ]) + fi ]) dnl Support for relocatable packages for which it is a nop. -- cgit v1.2.3