Upgrade ksh93 to 1.0.3

This commit upgrades ksh93 to the latest version.  Some minor changes
were required in the dtkcmds.c to make this work.

Most of the changes were in Makefile.am - primarily ensuring that
SHOPTS_* defines matched between dtksh and ksh93 builds, and that
ksh93 was actually told about them :)

The SHOPTS_* defines need to be assigned as the integer 1 as well, or
various preprocessor checks in ksh93 would fail.

Also:

- got rid of SUIDEXECDEFINES - this is a holdover from the Imake days
  and was never defined anyway.

- removed some SHOPT_* defines that no longer existed.

- do not pass CFLAGS to the ksh build at all - no need to complicate
  things.
This commit is contained in:
Jon Trulson
2022-08-27 17:22:18 -06:00
parent 3a68f5db40
commit 3300d665a0
3 changed files with 19 additions and 32 deletions

View File

@@ -47,6 +47,7 @@ ksh93/src/cmd/INIT/w.req
ksh93/src/cmd/builtin/FEATURE/
ksh93/src/cmd/builtin/pty
ksh93/src/cmd/ksh93/FEATURE/
ksh93/src/cmd/ksh93/shopt.h
ksh93/src/cmd/ksh93/ksh
ksh93/src/cmd/ksh93/shcomp
ksh93/src/cmd/ksh93/shell.req