Replace the build process. The new one requires GNU Make, Autoconf
and Autoconf macros that come with Automake. It supports multiple separate builds of the same source tree, and updates dependencies automatically. Targets info, html, install, install-html, uninstall and dist are not yet implemented. System configuration is now automatic. Previously, you had to choose one of several canned system configurations, defined in Make.sysdefs. Currently, system configuration always uses UCONTEXT for LWP, and chooses LWP only if its requirements are met. Feature configuration changed: instead of editing build.conf (further processed by doconfig), you pass arguments to configure. Note that build.conf settings that can be overridden in econfig have no configure equivalent; just edit econfig instead. Because generated headers complicate makefiles, fold gamesdef.h into its users: path.c and ipglob.c become path.c.in and ipglob.c.in, constants.c, vers.c, options.h simply hardcode defaults (most of them are run-time configurable). Call the client empire instead of emp_client. This matches what the old standalone build did.
This commit is contained in:
parent
cdfb94dc1f
commit
a98626df2d
67 changed files with 5052 additions and 2642 deletions
11
m4/my_func_makecontext.m4
Normal file
11
m4/my_func_makecontext.m4
Normal file
|
@ -0,0 +1,11 @@
|
|||
AC_DEFUN([MY_FUNC_MAKECONTEXT],
|
||||
[
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
AC_CHECK_FUNCS(makecontext)
|
||||
case "$host_os" in
|
||||
*irix*|*solaris2.?)
|
||||
AC_DEFINE([MAKECONTEXT_SP_HIGH], 1,
|
||||
[Define if your makecontext() requires ss_sp at the top of the stack])
|
||||
;;
|
||||
esac
|
||||
])
|
Loading…
Add table
Add a link
Reference in a new issue