view modules/relocatable-prog-wrapper @ 13922:120aa31e498d

* build-aux/gendocs.sh: restore x bit
author Eric Blake <eblake@redhat.com>
date Fri, 10 Dec 2010 09:40:08 -0700
parents b0563a938251
children 40a6cefcc5c9
line wrap: on
line source

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/readlink.c
lib/canonicalize-lgpl.c
lib/malloca.h
lib/malloca.c
lib/relocatable.h
lib/relocatable.c
lib/setenv.c
lib/strerror.c
lib/c-ctype.h
lib/c-ctype.c
m4/malloca.m4
m4/canonicalize.m4
m4/eealloc.m4
m4/environ.m4
m4/longlong.m4
m4/readlink.m4
m4/relocatable-lib.m4
m4/setenv.m4
m4/strerror.m4

Depends-on:
alloca-opt
double-slash-root
errno
pathmax
ssize_t
stdbool
stdlib
unistd
environ
intprops
string
verify

configure.ac:
gl_FUNC_READLINK_SEPARATE
gl_CANONICALIZE_LGPL_SEPARATE
gl_MALLOCA
gl_RELOCATABLE_LIBRARY_SEPARATE
gl_FUNC_SETENV_SEPARATE
gl_FUNC_STRERROR_SEPARATE

Makefile.am:
if RELOCATABLE_VIA_WRAPPER
uninstall-hook: uninstall-relocwrapper
uninstall-relocwrapper:
	if test $(RELOCATABLE) = yes; then \
	  case '$(EXEEXT)' in \
	    .bin*) ;; \
	    *) cd $(top_builddir) && \
	       $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \
		       AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \
		       uninstall ;; \
	  esac; \
	fi
.PHONY: uninstall-relocwrapper
endif

Include:

License:
GPL

Maintainer:
Bruno Haible, Ben Pfaff