mirror of
https://git.zap.org.au/git/trader.git
synced 2025-02-02 15:08:13 -05:00
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.
************************************************************************** * * * Star Traders: A Game of Interstellar Trading * * Copyright (C) 1990-2018, John Zaitseff * * * ************************************************************************** This directory, m4, contains M4 macros used by Autoconf. The following macros are custom-defined for Star Traders: xopen_source.m4 The following macros are from the Autoconf Archive project, as detailed on that project's web site, https://www.gnu.org/software/autoconf-archive/: ax_c___attribute__.m4 ax_cflags_warn_all.m4 ax_compiler_vendor.m4 ax_prepend_flag.m4 ax_require_defined.m4 ax_with_curses.m4 The following macro was generated by running the GNU Portability Library "gnulib-tool" with appropriate command line options, as detailed on that project's web site, https://www.gnu.org/software/gnulib/: gnulib-cache.m4