Mercurial > hg > octave-nkf > gnulib-hg
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 |
rev | line source |
---|---|
8313 | 1 Description: |
2 Help make programs relocatable, that is, to allow them to function | |
3 properly when copied to an arbitrary directory. | |
4 | |
5 Files: | |
6 build-aux/config.libpath | |
7 build-aux/reloc-ldflags | |
8 doc/relocatable.texi | |
9 lib/relocatable.h | |
10 lib/relocatable.c | |
11 lib/progreloc.c | |
12 m4/relocatable.m4 | |
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 | 15 |
16 Depends-on: | |
17 relocatable-prog-wrapper | |
18 progname | |
8318 | 19 canonicalize-lgpl |
20 xalloc | |
21 xreadlink | |
22 stdbool | |
23 unistd | |
10748 | 24 memcmp |
10755 | 25 strdup |
8313 | 26 |
27 configure.ac: | |
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 | 33 |
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 | 50 |
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 | 54 |
55 License: | |
56 GPL | |
57 | |
58 Maintainer: | |
59 Bruno Haible, Ben Pfaff | |
60 |