1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-10-27 18:20:13 -04:00
Commit Graph

45 Commits

Author SHA1 Message Date
John Zaitseff
f265336d3b Add all auto-generated files
All auto-generated files are created by running ./build-aux/bootstrap
with Gnulib as at commit a7967a2cf0998b6c157c7cf8e1d8d9d11dab30b0 (with a
date stamp of Thu Mar 15 08:46:29 2012 -0700), Autoconf 2.68, Automake
1.11.3 and Gettext 0.18.1.1.
2012-03-16 11:30:07 +11:00
John Zaitseff
3ad010c4f4 Merge branch master into with-autogenerated 2012-03-16 11:01:48 +11:00
John Zaitseff
bc3e1a06a1 Update the copyright year to 2012 2012-03-15 02:36:23 +11:00
John Zaitseff
4ddb8af23d Update to the latest version of the GNU Portability Library 2012-03-15 02:14:24 +11:00
John Zaitseff
8c950278b8 Update to the latest upstream version of ax_with_curses.m4 2012-03-15 02:13:30 +11:00
John Zaitseff
9e28f2f5b0 Update all $Id$ tags to match the released version 2011-08-29 11:56:27 +10:00
John Zaitseff
6705d160bc Add all auto-generated files
The auto-generated files are created by running ./build-aux/bootstrap
with Gnulib as at commit 84b1687bd51d4d47773a434ec12812292c4c0942 (with a
date stamp of Thu Aug 25 15:24:28 2011 -0700), Autoconf 2.68, Automake
1.11.1 and Gettext 0.18.1.1.
2011-08-29 11:42:10 +10:00
John Zaitseff
b528bbc9f0 Merge branch master into with-autogenerated 2011-08-29 11:11:53 +10:00
John Zaitseff
3a68213e80 Remove all unnecessary Gnulib modules
In particular, the various printf-posix modules are not needed as %ls and
the ' flag (thousands separator) is supported on all modern platforms (it
is needed on Cygwin 1.5.x, for example, but the 1.5.x series do not
support swprintf() anyway).  Similarly, OpenBSD 3.8 (released November
2005) is not supported: it does not have <monetary.h>.  A number of
modules (locale, string, unistd, wchar) are only required for NetBSD 5.0
(c. 2009: quite recent).  We try to support MacOS X 10.5 (October 2007),
but it may require GNU libiconv.
2011-08-26 06:33:40 +10:00
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
e08b207a83 Update all auto-generated files
The auto-generated files are created by running ./build-aux/bootstrap
with Gnulib as at commit fb733077fcd97a36e1ffdb292387943df8e1b9b4 (with a
date stamp of Mon Jul 25 18:29:59 2011 +0200), Autoconf 2.68 and Automake
1.11.1.
2011-07-29 12:41:43 +10:00
John Zaitseff
f7bf13a7bb Merge updated files from master into with-autogenerated 2011-07-29 12:33:08 +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
aa42dca9c4 Remove m4/gnulib-tool.m4, not distributed as part of Star Traders 2011-07-26 14:08:11 +10:00
John Zaitseff
b730dc64df Rerun the bootstrap script
The same versions of Gnulib, Autoconf and Automake are used as in commit
c7f2343052 (Mon Jul 25 20:10:32 2011 +1000).
2011-07-25 21:12:44 +10:00
John Zaitseff
793474d9fe Merge updated automake files from master into with-autogenerated 2011-07-25 20:53:05 +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
8150840b24 Merge updated automake files from master into with-autogenerated 2011-07-25 20:39:49 +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
c7f2343052 Add all auto-generated files
The auto-generated files are created by running ./build-aux/bootstrap
with Gnulib as at commit d72683055ea46253d8eb8f89341eff5414ae6ca0 (with a
date stamp of Sun Jul 24 23:37:17 2011 +0200), Autoconf 2.68 and Automake
1.11.1.
2011-07-25 20:10:32 +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