Commit | Line | Data |
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 |
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 |
9a48f954 |
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 |
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. |
35 | case "$usemymalloc" in |
36 | '') usemymalloc='y' ;; |
37 | esac |
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. |
43 | case "$d_setlocale" in |
44 | '') d_setlocale=undef |
45 | esac |
47324d24 |
46 | |
d4095199 |
47 | # MachTen doesn't have secure setid scripts |
48 | d_suidsafe='undef' |
9a48f954 |
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. |
52 | groupstype='int' |
d4095199 |
53 | |
54 | case "$optimize" in |
55 | '') optimize='-O2' ;; |
56 | esac |
47324d24 |
57 | |
58 | so='none' |
59 | # These are useful only if you have DLD, but harmless otherwise. |
60 | # Make sure gcc doesn't use -fpic. |
61 | cccdlflags=' ' # That's an empty space. |
62 | lddlflags='-r' |
63 | dlext='o' |
64 | |
65 | # MachTen does not support POSIX enough to compile the POSIX module. |
66 | useposix=false |
67 | |
68 | #MachTen might have an incomplete Berkeley DB implementation. |
69 | i_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 |
77 | dont_use_nlink=define |
78 | |
79 | cat <<'EOM' >&4 |
80 | |
47324d24 |
81 | At the end of Configure, you will see a harmless message |
82 | |
83 | Hmm...You had some extra variables I don't know about...I'll try to keep 'em. |
84 | Propagating recommended variable dont_use_nlink |
85 | |
86 | Read the File::Find documentation for more information. |
87 | |
9a48f954 |
88 | It's possible that test t/lib/findbin.t will fail on some configurations |
89 | of MachTen. |
90 | |
47324d24 |
91 | EOM |