perl5.002beta3
[p5sagit/p5-mst-13.2.git] / hints / machten.sh
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
6 # can get <ftp://tsx-11.mit.edu/pub/linux/sources/libs/dld-src-3.2.4.tar.gz>
7 # compile and install. This is the version of DLD that works with the
8 # ext/DynaLoader/dl_dld.xs in the perl5 package. Have fun!
9 #
10 #  Original version was for MachTen 2.1.1.
11 #  Last modified by Andy Dougherty   <doughera@lafcol.lafayette.edu>
12 #  Wed Mar  8 15:58:05 EST 1995
13
14 # I don't know why this is needed.  It might be similar to NeXT's
15 # problem.  See hints/next_3_2.sh.
16 usemymalloc='n'
17
18 so='none'
19 # These are useful only if you have DLD, but harmless otherwise.
20 lddlflags='-r'
21 dlext='o'
22
23 # MachTen does not support POSIX enough to compile the POSIX module.
24 useposix=false
25
26 #MachTen might have an incomplete Berkeley DB implementation.
27 i_db=$undef
28
29 #MachTen versions 2.X have no hard links.  This variable is used
30 # by File::Find.
31 # This will generate a harmless message:
32 # Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
33 #       Propagating recommended variable dont_use_nlink
34 case "$osver" in
35 2*) dont_use_nlink=define ;;
36 *) ;;
37 esac
38
39 case "$osvers" in
40 2*)
41         cat <<'EOM' >&4
42
43 Tests
44         io/fs test 4  and
45         op/stat test 3
46 may fail since MachTen versions 2.X have no hard links.
47
48 EOM
49     ;;
50 esac