Mercurial > hg > octave-kai > gnulib-hg
annotate modules/nl_langinfo @ 16497:3843e07f6df5
remainder-ieee: Work around test failure on OSF/1.
* m4/remainder-ieee.m4: New file.
* m4/remainder.m4 (gl_FUNC_REMAINDER): If gl_FUNC_REMAINDER_IEEE is
present, test whether remainder works with a zero second argument.
Replace it if not.
* lib/math.in.h (remainder): Override if REPLACE_REMAINDER is 1.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDER.
* modules/math (Makefile.am): Substitute REPLACE_REMAINDER.
* modules/remainder (configure.ac): Consider REPLACE_REMAINDER.
(Depends-on): Update dependencies.
* modules/remainder-ieee (Files): Add m4/remainder-ieee.m4.
(configure.ac): Invoke gl_FUNC_REMAINDER_IEEE.
* doc/posix-functions/remainder.texi: Mention the remainder-ieee module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 27 Feb 2012 18:07:29 +0100 |
parents | 56a24b726e1d |
children | 7dbecbf765a8 |
rev | line source |
---|---|
12430 | 1 Description: |
2 nl_langinfo() function: query locale dependent information. | |
3 | |
4 Files: | |
5 lib/nl_langinfo.c | |
6 m4/nl_langinfo.m4 | |
7 | |
8 Depends-on: | |
9 langinfo | |
10 | |
11 configure.ac: | |
12 gl_FUNC_NL_LANGINFO | |
15056
56a24b726e1d
nl_langinfo: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
12764
diff
changeset
|
13 if test $HAVE_NL_LANGINFO = 0 || test $REPLACE_NL_LANGINFO = 1; then |
56a24b726e1d
nl_langinfo: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
12764
diff
changeset
|
14 AC_LIBOBJ([nl_langinfo]) |
56a24b726e1d
nl_langinfo: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
12764
diff
changeset
|
15 fi |
12430 | 16 gl_LANGINFO_MODULE_INDICATOR([nl_langinfo]) |
17 | |
18 Makefile.am: | |
19 | |
20 Include: | |
21 <langinfo.h> | |
22 | |
23 License: | |
12764
602d53045ee7
langinfo, nl_langinfo: Relicense under LGPLv2+.
Bruno Haible <bruno@clisp.org>
parents:
12430
diff
changeset
|
24 LGPLv2+ |
12430 | 25 |
26 Maintainer: | |
27 Bruno Haible |