This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
To make arithmetic on tainted dualvars work properly requires that
[perl5.git] / hints / machten_2.sh
CommitLineData
47324d24 1# machten.sh
2# This file has been put together by Mark Pease <peasem@primenet.com>
3# Comments, questions, and improvements welcome!
4#
5# MachTen does not support dynamic loading. If you wish to, you
12638576 6# can fetch, compile, and install the dld package.
7# This ought to work with the ext/DynaLoader/dl_dld.xs in the
8# perl5 package. Have fun!
9# Some possible locations for dld:
10# ftp-swiss.ai.mit.edu:pub/scm/dld-3.2.7.tar.gz
11# prep.ai.mit.edu:/pub/gnu/jacal/dld-3.2.7.tar.gz
12# ftp.cs.indiana.edu:/pub/scheme-repository/imp/SCM-support/dld-3.2.7.tar.gz
13# tsx-11.mit.edu:/pub/linux/sources/libs/dld-3.2.7.tar.gz
47324d24 14#
15# Original version was for MachTen 2.1.1.
1973dd96 16# Last modified by Andy Dougherty <doughera@lafayette.edu>
12638576 17# Tue Aug 13 12:31:01 EDT 1996
8016dbf1
TP
18#
19# Warning about tests which no longer fail
20# fixed by Tom Phoenix <rootbeer@teleport.com>
21# March 5, 1997
d4095199
TP
22#
23# Locale, optimization, and malloc changes by Tom Phoenix Mar 15, 1997
9a48f954
TP
24#
25# groupstype change and note about t/lib/findbin.t by Tom, Mar 24, 1997
26
27# MachTen's ability to have valid filepaths beginning with "//" may
28# be causing lib/FindBin.pm to fail. I don't know how to fix it, but
29# the reader is encouraged to do so! :-) -- Tom
d4095199
TP
30
31# There seem to be some hard-to-diagnose problems under MachTen's
32# malloc, so we'll use Perl's. If you have problems which Perl's
33# malloc's diagnostics can't help you with, you may wish to use
34# MachTen's malloc after all.
35case "$usemymalloc" in
36'') usemymalloc='y' ;;
37esac
38
39# I (Tom Phoenix) don't know how to test for locales on MachTen. (If
40# you do, please fix this hints file!) But since mine didn't come
41# with locales working out of the box, I'll assume that's the case
42# for most folks.
43case "$d_setlocale" in
44'') d_setlocale=undef
45esac
47324d24 46
d4095199
TP
47# MachTen doesn't have secure setid scripts
48d_suidsafe='undef'
9a48f954
TP
49
50# groupstype should be gid_t, as near as I can tell, but it only
51# seems to work right when it's int.
52groupstype='int'
d4095199
TP
53
54case "$optimize" in
55'') optimize='-O2' ;;
56esac
47324d24 57
58so='none'
59# These are useful only if you have DLD, but harmless otherwise.
60# Make sure gcc doesn't use -fpic.
61cccdlflags=' ' # That's an empty space.
62lddlflags='-r'
63dlext='o'
64
65# MachTen does not support POSIX enough to compile the POSIX module.
66useposix=false
67
68#MachTen might have an incomplete Berkeley DB implementation.
69i_db=$undef
70
71#MachTen versions 2.X have no hard links. This variable is used
72# by File::Find.
73# This will generate a harmless message:
74# Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
75# Propagating recommended variable dont_use_nlink
8016dbf1 76# Without this, tests io/fs #4 and op/stat #3 will fail.
47324d24 77dont_use_nlink=define
78
79cat <<'EOM' >&4
80
d4095199
TP
81During Configure, you may get two "WHOA THERE" messages, for $d_setlocale
82and $i_db being 'undef'. You may keep the undef value.
83
47324d24 84At the end of Configure, you will see a harmless message
85
86Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
87 Propagating recommended variable dont_use_nlink
88
89Read the File::Find documentation for more information.
90
9a48f954
TP
91It's possible that test t/lib/findbin.t will fail on some configurations
92of MachTen.
93
47324d24 94EOM