annotate modules/wcwidth @ 17363:5a51fb7777a9

sys_select, sys_time: port 2013-01-30 Solaris 2.6 fix to Cygwin Problem reported by Marco Atzeri in <http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00000.html>. * lib/sys_select.in.h [HAVE_SYS_SELECT_H && _CYGWIN_SYS_TIME_H]: Simply delegate to the system <sys/select.h> in this case too. Also, pay attention to _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H only if OSF/1, since otherwise Cygwin breaks, and it doesn't seem to be needed on Solaris either. * lib/sys_time.in.h [_CYGWIN_SYS_TIME_H]: Simply delgate to the system <sys/time.h> in this case.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 19 Mar 2013 09:08:47 -0700
parents 570b3db43160
children 1f14c6dd175d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6878
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
1 Description:
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
2 Determine the number of screen columns needed for a character.
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
3
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
4 Files:
9071
ee2dc6c88b11 Provide wcwidth replacement in separate file wcwidth.c.
Bruno Haible <bruno@clisp.org>
parents: 7888
diff changeset
5 lib/wcwidth.c
6878
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
6 m4/wcwidth.m4
6882
6f91a91ac710 Fixes after wcwidth module creation.
Bruno Haible <bruno@clisp.org>
parents: 6878
diff changeset
7 m4/wchar_t.m4
7560
046e511d4faf Fix compilation error on platforms without 'wint_t' type.
Bruno Haible <bruno@clisp.org>
parents: 6890
diff changeset
8 m4/wint_t.m4
6878
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
9
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
10 Depends-on:
14683
efab6978105e Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents: 14304
diff changeset
11 wchar
9209
5a0294ce5372 Track CVS Autoconf on AC_USE_SYSTEM_EXTENSIONS.
Eric Blake <ebb9@byu.net>
parents: 9075
diff changeset
12 extensions
15167
570b3db43160 wcwidth: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
13 wctype-h [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1]
570b3db43160 wcwidth: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
14 localcharset [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1]
570b3db43160 wcwidth: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
15 streq [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1]
570b3db43160 wcwidth: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
16 uniwidth/width [test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1]
6878
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
17
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
18 configure.ac:
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
19 gl_FUNC_WCWIDTH
15167
570b3db43160 wcwidth: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
20 if test $HAVE_WCWIDTH = 0 || test $REPLACE_WCWIDTH = 1; then
570b3db43160 wcwidth: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
21 AC_LIBOBJ([wcwidth])
570b3db43160 wcwidth: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
22 fi
9073
eff03f4ce262 Remove the wcwidth.h file. Move wcwidth's declaration to wchar_.h.
Bruno Haible <bruno@clisp.org>
parents: 9071
diff changeset
23 gl_WCHAR_MODULE_INDICATOR([wcwidth])
6878
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
24
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
25 Makefile.am:
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
26
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
27 Include:
9073
eff03f4ce262 Remove the wcwidth.h file. Move wcwidth's declaration to wchar_.h.
Bruno Haible <bruno@clisp.org>
parents: 9071
diff changeset
28 <wchar.h>
6878
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
29
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
30 License:
6890
4c4ab062b59c Change wcwidth license to LGPL.
Bruno Haible <bruno@clisp.org>
parents: 6882
diff changeset
31 LGPL
6878
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
32
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
33 Maintainer:
9ae5979172e8 * modules/wcwidth: New file.
Eric Blake <ebb9@byu.net>
parents:
diff changeset
34 Bruno Haible