even better on Haiku:

* let ulimits work
* add a Haiku-specific ulimit
* always use UTF-8, they have no locales but a UTF-8 terminal
This commit is contained in:
tg
2010-03-14 11:58:33 +00:00
parent e0f952eeda
commit 50f081c369
4 changed files with 16 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.445 2010/03/14 11:56:07 tg Exp $'
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.446 2010/03/14 11:58:29 tg Exp $'
#-
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
# Thorsten Glaser <tg@mirbsd.org>
@@ -361,7 +361,7 @@ AIX)
CPPFLAGS="$CPPFLAGS -D_ALL_SOURCE"
: ${HAVE_SETLOCALE_CTYPE=0}
;;
BeOS|Haiku)
BeOS)
oswarn=' and will currently not work'
;;
BSD/OS)
@@ -383,6 +383,9 @@ GNU)
GNU/kFreeBSD)
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
;;
Haiku)
CPPFLAGS="$CPPFLAGS -DMKSH_ASSUME_UTF8"
;;
HP-UX)
;;
Interix)