John Zaitseff
3a4b014e64
Add the module wcswidth from the GNU Portability Library
2011-08-22 13:42:29 +10:00
John Zaitseff
07e9d30a66
Add the module wctob from the GNU Portability Library
2011-08-22 09:34:07 +10:00
John Zaitseff
336611559b
Add the error-checking function xwcsdup()
2011-08-20 10:40:07 +10:00
John Zaitseff
74031a0415
Add yet another module from the GNU Portability Library: btowc
2011-08-19 14:26:30 +10:00
John Zaitseff
75b5c986c0
Add the module wcwidth from the GNU Portability Library
2011-08-19 13:22:16 +10:00
John Zaitseff
87f09a6fda
Add the Gnulib modules mbrtowc, mbsrtowcs, wcrtomb and wcsrtombs
2011-08-19 13:11:43 +10:00
John Zaitseff
ef3e06ed36
Add the wchar and wctype-h modules from the GNU Portability Library
2011-08-18 12:53:23 +10:00
John Zaitseff
bbdae69de4
Add a signal handler for SIGINT and SIGTERM
...
Add a signal handler for SIGINT and SIGTERM, as well as sprinklings of
checks to abort_game. Although Ncurses DOES define handlers for SIGINT
and SIGTERM, they do not always seem to work correctly under many
operating systems.
2011-08-08 20:47:52 +10:00
John Zaitseff
32ed55a0cd
Convert strings to UTF-8 if possible during file save and load
2011-08-08 11:15:44 +10:00
John Zaitseff
378b7e64b0
Add preliminary support for GNU gettext internationalisation
2011-08-01 18:17:02 +10:00
John Zaitseff
d1d7716667
Update ax_with_curses.m4 to latest version from the Autoconf Archive
2011-07-29 11:51:21 +10:00
John Zaitseff
6afcaa0532
Correct a bug in the AC_DEFINE wording
2011-07-28 22:51:40 +10:00
John Zaitseff
d4e8ee09e6
Add the word "working" to some checks
2011-07-28 22:33:24 +10:00
John Zaitseff
880a63ee95
Define a check for <ncurses.h> under NcursesW, as used in FreeBSD
2011-07-28 22:29:55 +10:00
John Zaitseff
b16a785f3e
Add _XOPEN_SOURCE_EXTENDED for parts of the compile and link checks
...
Older versions of NcursesW require _XOPEN_SOURCE_EXTENDED to be defined
to access the wide-character interfaces.
2011-07-28 22:21:52 +10:00
John Zaitseff
48e8bbba93
Complete rewrite of the M4 macro that checks for Curses
2011-07-28 21:19:33 +10:00
John Zaitseff
6532524426
Ignore m4/largefile.m4
2011-07-26 21:23:42 +10:00
John Zaitseff
8fc14264a5
Add more files that need to be listed explicitly for distribution
2011-07-25 20:51:48 +10:00
John Zaitseff
788f2da986
Add some README files, plus bootstrap, to Makefile.am EXTRA_DIST
2011-07-25 20:36:31 +10:00
John Zaitseff
e7fee29e5b
Final minor edits of various documentation files
2011-07-25 17:00:59 +10:00
John Zaitseff
9c926eac11
Add README files for the build-aux, lib and m4 subdirectories
2011-07-25 16:21:33 +10:00
John Zaitseff
fd55a09493
Add support for the Gnulib portability library
...
In particular, the gnulib-tool utility now maintains lib/Makefile.am, as
well as many files in the m4 and lib directories. The file
m4/gnulib-cache.m4 allows the Gnulib files to be refreshed. See
http://www.gnu.org/software/gnulib/ .
2011-07-23 17:19:07 +10:00
John Zaitseff
dcad9487bb
Add files to m4/Makefile.am that should be distributed
2011-07-23 11:44:02 +10:00
John Zaitseff
ac6e432c18
Add the ax_append_flag Autoconf macro
...
This macro is taken from the GNU Autoconf Archive
(http://www.gnu.org/software/autoconf/ ).
2011-07-16 10:52:36 +10:00
John Zaitseff
7d4bff8799
Update the ax_cflags_warn_all Autoconf macro
...
This macro is taken from the latest version available from the GNU
Autoconf Archive (http://www.gnu.org/software/autoconf/ ).
2011-07-16 10:43:56 +10:00
John Zaitseff
3a4c95f927
Add the SysV-compatible curses library
...
The AX_WITH_CURSES macro is taken from the autoconf-archive project,
available at http://www.gnu.org/software/autoconf-archive/ .
2011-06-30 20:31:19 +10:00
John Zaitseff
d6050858d9
Add the __attribute__((noreturn)) function specifier where possible
2011-06-30 16:09:13 +10:00
John Zaitseff
add2580fe9
Rework the input to autoconf and add checks for the C compiler
...
Rewrite the input to autoconf: add the definition of PACKAGE_AUTHOR,
add checks for Standard C and for C compiler warnings (via the file
m4/ax_cflags_warn_all.m4 from the GNU Autoconf Archive), rearrange
various macros and the order of Makefile creation.
2011-06-23 22:43:31 +10:00
John Zaitseff
77deab3d84
Add an automake Makefile for the m4 macro directory
2011-06-16 10:49:55 +10:00