diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2026-03-08 17:28:50 +0100 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2026-03-08 17:28:50 +0100 |
| commit | ff33e1d252f46bec1a33e28700da3282fc24047a (patch) | |
| tree | 5c15bc695be820b393a8496c5807ecafbbdeb89b /gnulib-m4/relocatable-lib.m4 | |
| parent | b2ac982cc8b5290699eb5f52fb043d3d15e2624b (diff) | |
| parent | 5f59a34ab747dde8ede7357f3431bf06bd6002fe (diff) | |
Update upstream source from tag 'upstream/1.4.2'
Update to upstream version '1.4.2'
with Debian dir 493e96bcd865e4f9990e20bee26408c96231d727
Diffstat (limited to 'gnulib-m4/relocatable-lib.m4')
| -rw-r--r-- | gnulib-m4/relocatable-lib.m4 | 12 |
1 files changed, 10 insertions, 2 deletions
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. |
