Patch to Build Dynamic-Lib (DLL) version of perl using gnuwin32 b17.1
[p5sagit/p5-mst-13.2.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.
16# Last modified by Andy Dougherty <doughera@lafcol.lafayette.edu>
12638576 17# Tue Aug 13 12:31:01 EDT 1996
8016dbf1 18#
19# Warning about tests which no longer fail
20# fixed by Tom Phoenix <rootbeer@teleport.com>
21# March 5, 1997
d4095199 22#
23# Locale, optimization, and malloc changes by Tom Phoenix Mar 15, 1997
24
25# There seem to be some hard-to-diagnose problems under MachTen's
26# malloc, so we'll use Perl's. If you have problems which Perl's
27# malloc's diagnostics can't help you with, you may wish to use
28# MachTen's malloc after all.
29case "$usemymalloc" in
30'') usemymalloc='y' ;;
31esac
32
33# I (Tom Phoenix) don't know how to test for locales on MachTen. (If
34# you do, please fix this hints file!) But since mine didn't come
35# with locales working out of the box, I'll assume that's the case
36# for most folks.
37case "$d_setlocale" in
38'') d_setlocale=undef
39esac
47324d24 40
d4095199 41# MachTen doesn't have secure setid scripts
42d_suidsafe='undef'
43d_dosuid='define'
44
45case "$optimize" in
46'') optimize='-O2' ;;
47esac
47324d24 48
49so='none'
50# These are useful only if you have DLD, but harmless otherwise.
51# Make sure gcc doesn't use -fpic.
52cccdlflags=' ' # That's an empty space.
53lddlflags='-r'
54dlext='o'
55
56# MachTen does not support POSIX enough to compile the POSIX module.
57useposix=false
58
59#MachTen might have an incomplete Berkeley DB implementation.
60i_db=$undef
61
62#MachTen versions 2.X have no hard links. This variable is used
63# by File::Find.
64# This will generate a harmless message:
65# Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
66# Propagating recommended variable dont_use_nlink
8016dbf1 67# Without this, tests io/fs #4 and op/stat #3 will fail.
47324d24 68dont_use_nlink=define
69
70cat <<'EOM' >&4
71
d4095199 72During Configure, you may get two "WHOA THERE" messages, for $d_setlocale
73and $i_db being 'undef'. You may keep the undef value.
74
47324d24 75At the end of Configure, you will see a harmless message
76
77Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
78 Propagating recommended variable dont_use_nlink
79
80Read the File::Find documentation for more information.
81
82EOM