tg
a080fc385d
add a TODO here
2006-12-11 19:58:37 +00:00
tg
2122e253e7
fix bitching of: gcc version 3.3.5 (Debian 1:3.3.5-13)
2006-11-21 21:45:24 +00:00
tg
fa7407a37c
__CRAZY=Yes clean autoconf functions
2006-11-12 13:49:22 +00:00
tg
06b5723f83
oops, wrong protos
2006-11-12 13:38:40 +00:00
tg
f7ef916ed9
* fix CR-LF accident
...
* fix gcc4 warnings in autoconf tests
* Debian needs <grp.h> for setgroups, which seems fairly POSIX
Testsuite succeeds on Debian testing/unstable (i386)
2006-11-12 13:35:29 +00:00
tg
2c1ffced08
unbelievably, cygwin doesn't have strcasestr(3)
2006-11-12 13:15:27 +00:00
tg
5267e51098
header checks before function checks
2006-11-12 13:09:09 +00:00
tg
c20d203346
check for getmode as well when checking for setmode;
...
disable this check on winapi systems since their setmode is something else
2006-11-12 13:08:30 +00:00
tg
a799f50fea
scan for setresuid/setresgid and setgroups
...
no alternative implementation yet
2006-11-12 12:56:10 +00:00
tg
feb7dddd44
* use only macros for ctype stuff any more
...
XXX one of these uses a gcc extension, ok for now tho
* don't include <ctype.h> any more at all
* don't try nl_langinfo in small mode, just check locale
saves 171 .text, 4 .data, 256 .bss, 1 import
2006-11-10 07:18:58 +00:00
tg
625928f9f1
make autoconf checks more verbose as well
2006-11-09 23:09:05 +00:00
tg
e49b50f8f1
check for a few more things
2006-11-09 23:04:34 +00:00
tg
7148a691e0
simplify
2006-11-09 22:56:55 +00:00
tg
ee55f29a31
new function ac_testn() does the same as ac_test() but doesn't amend CPPFLAGS
2006-11-09 22:56:09 +00:00
tg
2bdcd71ef0
unbreak -d (was broken in R28)
2006-11-09 22:53:21 +00:00
tg
a48a880c00
ac_test for MKSH_SMALL presence in CPPFLAGS
...
if present, don't even look for setmode as it's only used by mknod builtin
2006-11-09 22:51:49 +00:00
tg
36ac8dc0f7
get rid of the need of strlcat() altogether (only one use was left)
2006-11-09 15:02:31 +00:00
tg
1ffa722d73
optic sugar
2006-11-09 00:13:27 +00:00
tg
0307ecb492
* instead of including <sys/cdefs.h> (not in Solaris), we hope <sys/types.h>
...
includes it for us
* autoconf-test for <sys/param.h> (not in SUSv3) existence
2006-11-09 00:11:39 +00:00
tg
9b0dbaddbf
oops, missed syntactic change
2006-11-09 00:08:25 +00:00
tg
1c7e58a9d9
use \u0060...\u0060 instead of $(...)
...
demanded by solaris /bin/sh
2006-11-09 00:06:33 +00:00
tg
84088b91d0
there is no compat.c any more
2006-11-09 00:03:37 +00:00
tg
e97ddf1eef
some build issues
2006-11-09 00:01:04 +00:00
tg
11fbdb4378
implement autoconf tests for langstuff; sync date
2006-11-08 23:45:47 +00:00
tg
d5c0de53e3
use shell macros instead of dupe code
2006-11-08 23:38:28 +00:00
tg
0e0782c856
first attempts at more autoconf'isation
2006-11-08 23:23:41 +00:00
tg
367186ecbc
something about the strength-reduce bug being fixed
2006-09-29 19:33:48 +00:00
tg
c65efd6fd4
of course, I had to screw up
...
tested on Debian stale:
| Total failed: 1 (as expected)
| Total passed: 213
| tg@flyingfish:~/mk b $ uname -a
| Linux flyingfish 2.6.13.1-grsec-aurisp #1 Wed Sep 28 15:13:07 CEST 2005 i686 GNU/Linux
2006-09-21 22:12:05 +00:00
tg
582aebf1c4
shebang, she don't work with spaces
2006-09-21 22:09:41 +00:00
tg
74efecaff0
no _POSIX_C_SOURCE=200112L for now, it works without on Solaris 8
...
and only without on "opensolaris build47 x86 32-bit"
reported in irc #ksh by <IvanR_> ivan@babylon-5.seppuku.net (Ivan Richwalski)
thanks
2006-09-13 23:07:10 +00:00
tg
6ec5e11ff2
in the case of BSD software, the F in RTFM is not vulgar...
2006-08-28 01:37:29 +00:00
tg
2b4f10b424
* move functions to top
...
* remove a few immature or redundant comments
* variablise better; use /usr/ucb/install on Solaris
2006-08-28 01:30:37 +00:00
tg
606909d6f6
Solaris 8 friendliness
2006-08-26 20:48:29 +00:00
tg
695503952f
use an autoconf-like approach to check for arc4random(3)
...
after gecko2 told me his mac recently has it and I found
out that Interix has it in -lcrypt and soon -lmirmake (:
2006-08-26 20:30:27 +00:00
tg
c81966621a
merge non-Plan9-specific stuff from the branch, add KNF, etc.
2006-08-24 20:32:53 +00:00
tg
e20d82c4d1
* rename the (generated) Test.sh to test.sh
...
* point to it, TFM and the sample more
2006-08-22 22:01:59 +00:00
tg
b208f76525
fix quoting levels of backthingies
2006-08-12 20:30:22 +00:00
tg
36b7c841d3
some help from the autoconf portable shell docs
2006-08-12 20:19:36 +00:00
tg
70babe6b0c
fix and simplify further
2006-08-12 20:01:35 +00:00
tg
d1dfe9657f
simplify further
2006-08-12 19:53:39 +00:00
tg
cca3f93e59
a probably-Solaris-/bin/sh-workable improved algorithm
2006-08-12 19:51:09 +00:00
tg
0eb31f6a82
optimise signames.inc output (shrinks binary size)
2006-08-12 19:38:44 +00:00
tg
e7fab65d5b
-D_ANSI_SOURCE no longer needed, verified on all platforms which
...
actually need signame.inc
2006-08-12 19:26:20 +00:00
tg
2950eea78d
mirbsdksh -> mksh
2006-08-12 18:49:21 +00:00
tg
9bda688f59
sanitise variable handling and nroff vs gnroff detection
2006-08-12 18:48:39 +00:00
tg
24000a4fb2
gensigs.sh was called with $SHELL (or /bin/sh if $SHELL was a csh),
...
which failed for Han Boetes using zsh as user shell (to test). Now,
the code is integrated into Build.sh as-is, and Test.sh uses $SHELL
no longer either but the mksh just built, in the shebang line.
2006-08-12 18:43:55 +00:00
tg
e2e1a01610
use $SHELL for Test.sh too
2006-08-02 14:17:13 +00:00
tg
bef8651936
* Build.sh: fix manpage generation defaults under Cygwin
...
* mksh.1: rework prompt ($PS1) section, simplify example,
point to packaged dot.mkshrc example
* mksh.1: fix description of 'redraw' regarding redrawal
of prompts longer than one screen line
* all: bump version/date
2006-08-02 11:50:30 +00:00
tg
df54522223
* Build.sh: fix accidental CR-LF catastrophe
...
(yeah, that's what you get from developing with a
16-bit MS-DOS(R) executable of your favourite text editor)
* lex.c, mksh.1: do not print the delimiting character for
not-to-be-counted character sequences (i.e. ANSI escapes)
in prompts any more, mostly because ASCII 01h is printable
on both Interix and Cygwin and I'm lazy
(this also fixes prompt width counting if a printable character
such as 'x' is used as delimiting character)
* lex.c: through printing the prompt character by character,
also print the delimited sequences if skipping, fixes some
prompt redrawal not honouring colours stuff while not totally
redrawing the entire prompt
2006-08-02 10:41:03 +00:00
tg
ce8fd25903
fix build on Cygwin, has been broken for quite some time apparently
2006-08-02 10:02:21 +00:00