1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-06-30 19:45:23 +00:00
Commit Graph

40 Commits

Author SHA1 Message Date
John Zaitseff
2032f6de8a Move redefinition of _XOPEN_SOURCE into its own Autoconf macro and header
This makes the main source code look a little cleaner, at the expense of
background magic happening in the configure-generated config.h.  But this
magic was already happening for _GNU_SOURCE, __EXTENSIONS__ and the like.

The only wrinkle is that newer versions of NcursesW cause ./configure to
include "-D_XOPEN_SOURCE=600" as part of the compilation command line--on
systems that support _XOPEN_SOURCE=700.  The AC_DEFINE/AC_DEFINE_UNQUOTED
macros automatically comment out any "#undef" lines in config.h, so the
file lib/xopen_source.h works around this limitation.  It is
automatically included by config.h.
2018-08-09 18:05:39 +10:00
John Zaitseff
0a1e837c4d Add the Gnulib monetary module to check for the existence of <monetary.h> 2018-08-08 09:57:25 +10:00
John Zaitseff
53c8d735c3 Remove duplicate obsolete strings 2018-07-27 06:25:37 +10:00
John Zaitseff
4946112c41 Add additional strings found in other versions of glibc's getopt.c 2018-07-27 06:15:11 +10:00
John Zaitseff
3bb98b24dc Update documentation to mention the obsolete strings 2018-07-27 06:02:54 +10:00
John Zaitseff
5a62a39770 Add strings from obsolete versions of libraries
Previous versions of the GNU Portability Library, and versions of the GNU
C Library as released with various Linux distributions, used strings no
longer present in the current version of the GNU Portability Library.
When used on systems with those strings, Star Traders could not provide
appropriate translations.  This patch fixes that problem.
2018-07-27 05:52:25 +10:00
John Zaitseff
abc9b77bd6 Change all relevant http references to https (secure HTTP) 2018-03-30 12:46:37 +11:00
John Zaitseff
8c6d009611 Update the copyright date to 2018 2018-03-30 11:38:29 +11:00
John Zaitseff
a315d2bae9 Update to the latest GNU Portability Library release 2017-05-17 09:25:14 +10:00
John Zaitseff
2f79514910 Update the copyright date to 2017 2017-05-14 06:29:44 +10:00
John Zaitseff
2601056f0d Update ignored files to include those generated during configure 2016-12-13 08:48:43 +11:00
John Zaitseff
b6a7a80cd9 Update ignored files for the latest version of Gnulib 2016-12-13 08:41:37 +11:00
John Zaitseff
65129e3cc3 Update the list of files to ignore 2016-12-12 21:19:32 +11:00
John Zaitseff
a0a7961108 Update the list of files to ignore 2016-04-16 06:49:54 +10:00
John Zaitseff
a486cd15aa Update the copyright year to 2016 2016-01-05 09:25:51 +11:00
John Zaitseff
5e72747140 Update the list of (auto-generated) files to ignore 2015-08-18 08:01:59 +10:00
John Zaitseff
f16f78a509 Update the copyright date to 2015 2015-08-18 07:27:22 +10:00
John Zaitseff
3d20e0b307 Add the CRC32 functions from the GNU Portability Library 2014-05-22 18:17:02 +10:00
John Zaitseff
9450fed943 Update the copyright year to 2014 2014-05-22 11:05:51 +10:00
John Zaitseff
c25ec91e99 Update the copyright year to 2013, and the version number to 7.5 2013-02-02 10:48:43 +11:00
John Zaitseff
d93c8e510b Update to the latest version of the GNU Portability Library 2013-01-18 20:17:50 +11:00
John Zaitseff
a14acef052 Change version to 7.4; update to the latest version of Gnulib 2012-05-09 07:09:33 +10:00
John Zaitseff
bc3e1a06a1 Update the copyright year to 2012 2012-03-15 02:36:23 +11: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
03e33a6465 Update the list of (auto-generated) files to ignore 2011-08-19 13:31:07 +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
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
00f33dc1cc Add more files (generated by gnulib) to ignore by default 2011-07-23 17:25:37 +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
3187aaf10c Remove superfluous version and date information 2011-06-14 23:01:15 +10:00
John Zaitseff
c79ad6b99d Add the basic infrastructure required by autoconf and automake 2011-06-14 22:16:26 +10:00