Hash :
24446f2d
Author :
Date :
2021-01-31T12:42:47
relocatable-prog-wrapper: Update after recent changes. * lib/relocwrapper.c: Update comments. * modules/relocatable-prog-wrapper (Files): Add lib/scratch_buffer.h, lib/malloc/scratch_buffer*, lib/malloc.c, lib/realloc.c, lib/free.c, lib/mempcpy.c, lib/rawmemchr.c, m4/lstat.m4. Remove lib/lstat.c. (Depends-on): Add c99, eloop-threshold, fcntl-h, idx, intprops, libc-config, stddef, sys_stat. Remove alloca-opt. (configure.ac): Invoke gl_FUNC_MALLOC_POSIX, gl_FUNC_REALLOC_POSIX, gl_FUNC_FREE, gl_FUNC_MEMPCPY, gl_FUNC_RAWMEMCHR. * lib/canonicalize-lgpl.c (memmove): Undefine in the relocwrapper. * build-aux/install-reloc (func_create_wrapper): Compile also malloc/scratch_buffer_*.c, malloc.c, realloc.c, free.c, mempcpy.c, rawmemchr.c. Don't compile lstat.c.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
Description:
Source for the wrapper program that is required for making programs relocatable
that depend on shared libraries installed with the same installation prefix.
Files:
build-aux/install-reloc
lib/relocwrapper.c
lib/progname.h
lib/progname.c
lib/progreloc.c
lib/areadlink.h
lib/areadlink.c
lib/careadlinkat.h
lib/careadlinkat.c
lib/allocator.h
lib/allocator.c
lib/readlink.c
lib/stat.c
lib/canonicalize-lgpl.c
lib/scratch_buffer.h
lib/malloc/scratch_buffer.h
lib/malloc/scratch_buffer_dupfree.c
lib/malloc/scratch_buffer_grow.c
lib/malloc/scratch_buffer_grow_preserve.c
lib/malloc/scratch_buffer_set_array_size.c
lib/malloc.c
lib/realloc.c
lib/free.c
lib/mempcpy.c
lib/rawmemchr.c
lib/malloca.h
lib/malloca.c
lib/relocatable.h
lib/relocatable.c
lib/setenv.c
lib/c-ctype.h
lib/c-ctype.c
m4/largefile.m4
m4/malloca.m4
m4/canonicalize.m4
m4/lstat.m4
m4/eealloc.m4
m4/environ.m4
m4/readlink.m4
m4/relocatable-lib.m4
m4/setenv.m4
Depends-on:
c99
double-slash-root
eloop-threshold
environ
errno
fcntl-h
filename
idx
intprops
largefile
libc-config
pathmax
ssize_t
stdbool
stddef
stdint
stdlib
string
sys_stat
unistd
verify
xalloc-oversized
configure.ac-early:
AC_REQUIRE([AC_SYS_LARGEFILE])
configure.ac:
AC_REQUIRE([AC_C_RESTRICT])
gl_FUNC_READLINK_SEPARATE
gl_CANONICALIZE_LGPL_SEPARATE
gl_FUNC_MALLOC_POSIX
gl_FUNC_REALLOC_POSIX
gl_FUNC_FREE
gl_FUNC_MEMPCPY
gl_FUNC_RAWMEMCHR
gl_MALLOCA
gl_RELOCATABLE_LIBRARY
gl_FUNC_SETENV_SEPARATE
Makefile.am:
Include:
License:
GPL
Maintainer:
Ben Pfaff