Mercurial > hg > octave-lojdl > gnulib-hg
annotate m4/mbsnrtowcs.m4 @ 16364:89227b989588
fatal-signal: use C prototypes (with explicit void).
* lib/fatal-signal.c (uninstall_handlers, install_handlers)
(init_fatal_signal_set, block_fatal_signals): Fix signatures.
author | Akim Demaille <demaille@gostai.com> |
---|---|
date | Wed, 08 Feb 2012 10:36:20 +0100 |
parents | 8250f2777afc |
children | e542fd46ad6f |
rev | line source |
---|---|
15032
0b43830f8761
mbsnrtowcs: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14685
diff
changeset
|
1 # mbsnrtowcs.m4 serial 4 |
16201
8250f2777afc
maint: update all copyright year number ranges
Jim Meyering <meyering@redhat.com>
parents:
15032
diff
changeset
|
2 dnl Copyright (C) 2008, 2010-2012 Free Software Foundation, Inc. |
10932 | 3 dnl This file is free software; the Free Software Foundation |
4 dnl gives unlimited permission to copy and/or distribute it, | |
5 dnl with or without modifications, as long as this notice is preserved. | |
6 | |
7 AC_DEFUN([gl_FUNC_MBSNRTOWCS], | |
8 [ | |
9 AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) | |
10 | |
11 dnl Persuade glibc <wchar.h> to declare mbsnrtowcs(). | |
12 AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) | |
13 | |
14 AC_REQUIRE([AC_TYPE_MBSTATE_T]) | |
15 gl_MBSTATE_T_BROKEN | |
13158
6c2a74cfe75b
mbsinit, mbrtowc, wcrtomb: Improve idioms.
Bruno Haible <bruno@clisp.org>
parents:
12559
diff
changeset
|
16 |
10932 | 17 AC_CHECK_FUNCS_ONCE([mbsnrtowcs]) |
18 if test $ac_cv_func_mbsnrtowcs = no; then | |
19 HAVE_MBSNRTOWCS=0 | |
13158
6c2a74cfe75b
mbsinit, mbrtowc, wcrtomb: Improve idioms.
Bruno Haible <bruno@clisp.org>
parents:
12559
diff
changeset
|
20 else |
6c2a74cfe75b
mbsinit, mbrtowc, wcrtomb: Improve idioms.
Bruno Haible <bruno@clisp.org>
parents:
12559
diff
changeset
|
21 if test $REPLACE_MBSTATE_T = 1; then |
6c2a74cfe75b
mbsinit, mbrtowc, wcrtomb: Improve idioms.
Bruno Haible <bruno@clisp.org>
parents:
12559
diff
changeset
|
22 REPLACE_MBSNRTOWCS=1 |
6c2a74cfe75b
mbsinit, mbrtowc, wcrtomb: Improve idioms.
Bruno Haible <bruno@clisp.org>
parents:
12559
diff
changeset
|
23 fi |
10932 | 24 fi |
25 ]) | |
26 | |
27 # Prerequisites of lib/mbsnrtowcs.c. | |
28 AC_DEFUN([gl_PREREQ_MBSNRTOWCS], [ | |
29 : | |
30 ]) |