X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fmachten_2.sh;h=bc7dde4e3fa062c362cf79646f612b81cdbd7a34;hb=0faf3e6502ba533234322c904a3fa6b70b610627;hp=dfcedede4e2b0a6a47a2cfa6013704f32f22b54d;hpb=8016dbf1e4a722b595e531aca0bc4f1af7b8b8a1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/machten_2.sh b/hints/machten_2.sh index dfceded..bc7dde4 100644 --- a/hints/machten_2.sh +++ b/hints/machten_2.sh @@ -19,10 +19,41 @@ # Warning about tests which no longer fail # fixed by Tom Phoenix # March 5, 1997 +# +# Locale, optimization, and malloc changes by Tom Phoenix Mar 15, 1997 +# +# groupstype change and note about t/lib/findbin.t by Tom, Mar 24, 1997 + +# MachTen's ability to have valid filepaths beginning with "//" may +# be causing lib/FindBin.pm to fail. I don't know how to fix it, but +# the reader is encouraged to do so! :-) -- Tom + +# There seem to be some hard-to-diagnose problems under MachTen's +# malloc, so we'll use Perl's. If you have problems which Perl's +# malloc's diagnostics can't help you with, you may wish to use +# MachTen's malloc after all. +case "$usemymalloc" in +'') usemymalloc='y' ;; +esac + +# I (Tom Phoenix) don't know how to test for locales on MachTen. (If +# you do, please fix this hints file!) But since mine didn't come +# with locales working out of the box, I'll assume that's the case +# for most folks. +case "$d_setlocale" in +'') d_setlocale=undef +esac -# I don't know why this is needed. It might be similar to NeXT's -# problem. See hints/next_3.sh. -usemymalloc='n' +# MachTen doesn't have secure setid scripts +d_suidsafe='undef' + +# groupstype should be gid_t, as near as I can tell, but it only +# seems to work right when it's int. +groupstype='int' + +case "$optimize" in +'') optimize='-O2' ;; +esac so='none' # These are useful only if you have DLD, but harmless otherwise. @@ -47,6 +78,9 @@ dont_use_nlink=define cat <<'EOM' >&4 +During Configure, you may get two "WHOA THERE" messages, for $d_setlocale +and $i_db being 'undef'. You may keep the undef value. + At the end of Configure, you will see a harmless message Hmm...You had some extra variables I don't know about...I'll try to keep 'em. @@ -54,4 +88,7 @@ Hmm...You had some extra variables I don't know about...I'll try to keep 'em. Read the File::Find documentation for more information. +It's possible that test t/lib/findbin.t will fail on some configurations +of MachTen. + EOM