annotate modules/relocatable-prog @ 16498:e04c5a489c44

remainderf-ieee: Work around test failure on OSF/1. * m4/remainderf-ieee.m4: New file. * m4/remainderf.m4 (gl_FUNC_REMAINDERF): If gl_FUNC_REMAINDERF_IEEE is present, test whether remainderf works with a zero second argument. Replace it if not. * lib/math.in.h (remainderf): Override if REPLACE_REMAINDERF is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDERF. * modules/math (Makefile.am): Substitute REPLACE_REMAINDERF. * modules/remainderf (configure.ac): Consider REPLACE_REMAINDERF. (Depends-on): Update conditions. * modules/remainderf-ieee (Files): Add m4/remainderf-ieee.m4. (Depends-on): Add remainder-ieee. (configure.ac): Invoke gl_FUNC_REMAINDERF_IEEE. * doc/posix-functions/remainderf.texi: Mention the remainderf-ieee module.
author Bruno Haible <bruno@clisp.org>
date Mon, 27 Feb 2012 19:33:31 +0100
parents a5685ab957f9
children 1f14c6dd175d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8313
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 Help make programs relocatable, that is, to allow them to function
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 properly when copied to an arbitrary directory.
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 Files:
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 build-aux/config.libpath
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 build-aux/reloc-ldflags
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 doc/relocatable.texi
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 lib/relocatable.h
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 lib/relocatable.c
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 lib/progreloc.c
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 m4/relocatable.m4
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 m4/relocatable-lib.m4
9444
0c3b25464595 relocatable.m4 needs lib-ld.m4.
Bruno Haible <bruno@clisp.org>
parents: 9363
diff changeset
14 m4/lib-ld.m4
8313
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 Depends-on:
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 relocatable-prog-wrapper
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 progname
8318
8a2d270e8012 Fix dependencies.
Bruno Haible <bruno@clisp.org>
parents: 8313
diff changeset
19 canonicalize-lgpl
8a2d270e8012 Fix dependencies.
Bruno Haible <bruno@clisp.org>
parents: 8313
diff changeset
20 xalloc
8a2d270e8012 Fix dependencies.
Bruno Haible <bruno@clisp.org>
parents: 8313
diff changeset
21 xreadlink
8a2d270e8012 Fix dependencies.
Bruno Haible <bruno@clisp.org>
parents: 8313
diff changeset
22 stdbool
8a2d270e8012 Fix dependencies.
Bruno Haible <bruno@clisp.org>
parents: 8313
diff changeset
23 unistd
10748
0ef26bffcbe1 Mark 'memcmp' obsolete.
Bruno Haible <bruno@clisp.org>
parents: 9444
diff changeset
24 memcmp
10755
b25692ed074a Mark 'strdup' obsolete.
Bruno Haible <bruno@clisp.org>
parents: 10748
diff changeset
25 strdup
8313
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 configure.ac:
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 gl_RELOCATABLE([$gl_source_base])
15079
4f21126cd802 relocatable-prog: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 13940
diff changeset
29 if test $RELOCATABLE = yes; then
4f21126cd802 relocatable-prog: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 13940
diff changeset
30 AC_LIBOBJ([progreloc])
15517
a5685ab957f9 relocatable-prog: fix link error
Ben Pfaff <blp@cs.stanford.edu>
parents: 15079
diff changeset
31 AC_LIBOBJ([relocatable])
15079
4f21126cd802 relocatable-prog: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 13940
diff changeset
32 fi
8313
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34 Makefile.am:
9363
4d4d1419d4ab Use @FOO@ syntax instead of $(FOO) syntax, because it uncovers typos early.
Bruno Haible <bruno@clisp.org>
parents: 8334
diff changeset
35 DEFS += -DEXEEXT=\"@EXEEXT@\"
13940
40a6cefcc5c9 relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents: 12008
diff changeset
36 if RELOCATABLE_VIA_WRAPPER
40a6cefcc5c9 relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents: 12008
diff changeset
37 uninstall-hook: uninstall-relocwrapper
40a6cefcc5c9 relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents: 12008
diff changeset
38 uninstall-relocwrapper:
40a6cefcc5c9 relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents: 12008
diff changeset
39 if test $(RELOCATABLE) = yes; then \
40a6cefcc5c9 relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents: 12008
diff changeset
40 case '$(EXEEXT)' in \
40a6cefcc5c9 relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents: 12008
diff changeset
41 .bin*) ;; \
40a6cefcc5c9 relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents: 12008
diff changeset
42 *) cd $(top_builddir) && \
40a6cefcc5c9 relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents: 12008
diff changeset
43 $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \
40a6cefcc5c9 relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents: 12008
diff changeset
44 AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \
40a6cefcc5c9 relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents: 12008
diff changeset
45 uninstall ;; \
40a6cefcc5c9 relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents: 12008
diff changeset
46 esac; \
40a6cefcc5c9 relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents: 12008
diff changeset
47 fi
40a6cefcc5c9 relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents: 12008
diff changeset
48 .PHONY: uninstall-relocwrapper
40a6cefcc5c9 relocatable-prog-wrapper: Separate from relocatable-prog.
Bruno Haible <bruno@clisp.org>
parents: 12008
diff changeset
49 endif
8313
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
50
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
51 Include:
12008
18ea6ab4e81d maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents: 10755
diff changeset
52 "relocatable.h"
18ea6ab4e81d maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents: 10755
diff changeset
53 "progname.h"
8313
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
54
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
55 License:
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
56 GPL
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
57
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
58 Maintainer:
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
59 Bruno Haible, Ben Pfaff
bc237f82eb36 Move to here from relocatable.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
60