perl 5.003_01: hints/os2.sh
[p5sagit/p5-mst-13.2.git] / hints / machten.sh
index cbf634a..c86707c 100644 (file)
@@ -1,27 +1,62 @@
 # machten.sh
-# This file has been put together by Mark Pease <peasem@primenet.com>
+# This is for MachTen 4.0.2.  It might work on other versions too.
+#
+# MachTen users might need a fixed tr from ftp.tenon.com.  This should
+# be described in the MachTen release notes.
+#
+# MachTen 2.x has its own hint file.
+#
+# This file has been put together by Andy Dougherty
+# <doughera@lafcol.lafayette.edu> based on comments from lots of
+# folks, especially 
+#      Mark Pease <peasem@primenet.com>
+#      Martijn Koster <m.koster@webcrawler.com>
+#      Richard Yeh <rcyeh@cco.caltech.edu>
+#
+# File::Find's use of link count disabled by Dominic Dunlop 950528
+# Perl's use of sigsetjmp etc. disabled by Dominic Dunlop 950521
+#
 # Comments, questions, and improvements welcome!
 #
-# MachTen does not support dynamic loading. If you wish to, you
-# can get <ftp://tsx-11.mit.edu/pub/linux/sources/libs/dld-src-3.2.4.tar.gz>
-# compile and install. This is the version of DLD that works with the
-# ext/DynaLoader/dl_dld.xs in the perl5 package. Have fun!
+# MachTen 4.X does support dynamic loading, but perl doesn't
+# know how to use it yet.
 #
-#  Original version was for MachTen 2.1.1.
-#  Last modified by Andy Dougherty   <doughera@lafcol.lafayette.edu>
-#  Wed Mar  8 15:58:05 EST 1995
+#  Updated by Dominic Dunlop <domo@tcp.ip.lu>
+#  Tue May 28 11:20:08 WET DST 1996
+
+# Configure doesn't know how to parse the nm output.
+usenm=undef
+
+# At least on PowerMac, doubles must be aligned on 8 byte boundaries.
+# I don't know if this is true for all MachTen systems, or how to
+# determine this automatically.
+alignbytes=8
+
+# There appears to be a problem with perl's use of sigsetjmp and
+# friends.  Use setjmp and friends instead.
+d_sigsetjmp='undef' 
+
+# MachTen always reports ony two links to directories, even if they
+# contain subdirectories.  Consequently, we use this variable to stop
+# File::Find using the link count to determine whether there are
+# subdirectories to be searched.  This will generate a harmless message:
+# Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
+#      Propagating recommended variable dont_use_nlink
+dont_use_nlink=define
+
+cat <<'EOM' >&4
+
+Tests
+       io/fs test 4  and
+       op/stat test 3
+may fail since MachTen does not return a useful nlinks field to stat
+on directories.
 
-# I don't know why this is needed.  It might be similar to NeXT's
-# problem.  See hints/next_3_2.sh.
-usemymalloc='n'
+At the end of Configure, you will see a harmless message
 
-so='none'
-# These are useful only if you have DLD, but harmless otherwise.
-lddlflags='-r'
-dlext='o'
+Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
+       Propagating recommended variable dont_use_nlink
 
-# MachTen does not support POSIX enough to compile the POSIX module.
-useposix=false
+Read the File::Find documentation for more information.
 
-#MachTen might have an incomplete Berkeley DB implementation.
-i_db=$undef
+EOM