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

75 Commits

Author SHA1 Message Date
John Zaitseff
80c1301e1a Bug fix: Allow compilations using separate build directories to succeed 2018-08-09 18:11:28 +10:00
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
e578802ac6 Use the Gnulib extensions module to define _GNU_SOURCE and __EXTENSIONS__ 2018-08-09 14:11:38 +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
83878efce2 Update to the latest (unreleased) version of ax_cflags_warn_all.m4 2018-08-06 20:29:09 +10:00
John Zaitseff
9d9a3befca Update m4/README to include changes to the m4 files now included 2018-08-06 15:42:44 +10:00
John Zaitseff
a02c7388e2 Ensure m4/ax_prepend_flag.m4 is distributed
Also remove ax_append_flag.m4 from the distribution list, and order
everything alphabetically.
2018-08-06 15:25:56 +10:00
John Zaitseff
265ed12de8 Update to an unreleased version of ax_cflags_warn_all.m4
This version of the AX_CFLAGS_WARN_ALL macro uses a far more robust
method of detecting compilers to select appropriate warning flags.  It
also uses the AX_PREPEND_FLAG macro instead of AX_APPEND_FLAG.

This version of ax_cflags_warn_all.m4 (and ax_prepend_flag.m4) has been
submitted upstream; see https://savannah.gnu.org/patch/?9673 for details.
2018-08-06 15:21:05 +10:00
John Zaitseff
4f3a870b9d Update unreleased version of m4/ax_compiler_vendor.m4
This version of ax_compiler_vendor.m4 has been submitted upstream; see
https://savannah.gnu.org/patch/index.php?9671 for details.
2018-08-06 09:46:19 +10:00
John Zaitseff
cef694cab6 Add an unreleased version of m4/ax_compiler_vendor.m4 for compiler detection 2018-08-06 09:24:48 +10:00
John Zaitseff
9ee01e98d9 Update ax_append_flag.m4 to latest version from the GNU Autoconf archive 2018-07-26 00:31:16 +10:00
John Zaitseff
d0fb4635b9 Update to the latest GNU Portability Library release 2018-07-24 21:27:58 +10:00
John Zaitseff
5480c1949c Update to the latest GNU Portability Library release 2018-03-30 13:10:13 +11: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
c978e5b4d1 Remove the obsolete Gnulib gettext module 2017-05-23 20:15:13 +10:00
John Zaitseff
1f574672fd Enable conditional dependencies between Gnulib modules 2017-05-23 13:22:41 +10:00
John Zaitseff
a315d2bae9 Update to the latest GNU Portability Library release 2017-05-17 09:25:14 +10:00
John Zaitseff
bb06d81534 Update ax_with_curses.m4 to latest version from the GNU Autoconf archive
This version changes CURSES_LIB to the plural CURSES_LIBS, and adds the
CURSES_CFLAGS variable.  It also uses pkg-config(1) if that is available.
2017-05-17 09:21:30 +10:00
John Zaitseff
793ef176c9 Update files to the latest version from the GNU Autoconf archive 2017-05-14 07:17:35 +10:00
John Zaitseff
2f79514910 Update the copyright date to 2017 2017-05-14 06:29:44 +10: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
ed336248d7 Reinstate the Gnulib "gettext" module
This allows the GNU Gettext version 0.19.5 autoconf macros to be used on
systems that may have only older versions installed.
2016-04-16 06:57:38 +10:00
John Zaitseff
a0a7961108 Update the list of files to ignore 2016-04-16 06:49:54 +10:00
John Zaitseff
bbfe531d62 Downgrade GNU Gettext to version 0.18.3
The Gnulib macros currently use Gettext version 0.18.3 in their m4 files.
2016-03-11 09:59:53 +11:00
John Zaitseff
721f10be43 Update to the latest GNU Portability Library release 2016-01-05 09:31:36 +11:00
John Zaitseff
a486cd15aa Update the copyright year to 2016 2016-01-05 09:25:51 +11:00
John Zaitseff
9666c85cbc Update to the latest version of the GNU Portability Library 2015-08-18 07:57:51 +10:00
John Zaitseff
79ac3636ae Update ax_append_flag.m4 to the latest version 2015-08-18 07:56:30 +10:00
John Zaitseff
f16f78a509 Update the copyright date to 2015 2015-08-18 07:27:22 +10:00
John Zaitseff
1e15de58eb List the newly-added ax_require_defined.m4 file for distribution 2014-05-24 07:31: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
4216b21324 Add the newly-required ax_require_defined Autoconf macro 2014-05-22 11:26:33 +10:00
John Zaitseff
39e978ae91 Update to the latest version of the GNU Portability Library 2014-05-22 11:16:18 +10:00
John Zaitseff
7376d26b53 Update files to the latest version from the GNU Autoconf archive 2014-05-22 11:11:28 +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
6850f3c71a Update to the latest version of the GNU Portability Library 2012-11-06 21:50:31 +11:00
John Zaitseff
0f66fc34c5 Update to the latest version available from the GNU Autoconf archive 2012-09-20 19:56:11 +10: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
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
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