This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Create internal _is_utf8_mark()
[perl5.git] / hints / next_3.sh
index 829d273..3dfbcca 100644 (file)
@@ -2,7 +2,7 @@
 # Andreas Koenig <k@franz.ww.TU-Berlin.DE> and Gerd Knops <gerti@BITart.com>.
 # Comments, questions, and improvements welcome!
 #
-# These hints work for NeXT 3.2 and 3.3.  3.0 has it's own
+# These hints work for NeXT 3.2 and 3.3.  3.0 has its own
 # special hint file.
 #
 
 # sbrk makes it possible to run perl with its own malloc. Thanks to
 # Ilya who showed me the way to his sbrk for OS/2!!
 #
-# The whole malloc desaster lead to a failing gdbm test. It is far
+# The whole malloc disaster lead to a failing gdbm test. It is far
 # beyond my understanding, why GDBM_File breaks with the "fix", but in
 # general I consider it better to have a working perl with broken GDBM
 # than no perl at all.
 #
 # So, this hintsfile is using perl's malloc. If you want to turn
-# perl's malloc off, you need to remove '-DUSE_PERL_SBRK' and
-# '-DHIDEMYMALLOC' from the ccflags and set usemymalloc to 'n'.
+# perl's malloc off, you need to remove '-DUSE_PERL_SBRK'
+# from the ccflags and set usemymalloc to 'n'.
 #
 # 1997:
 # From perl5.003_22 the malloc bug has no impact any more. We can run
 # a perl without a special sbrk. Apparently Chip Salzenberg, the hero
-# of 5.004 anyway, earned another trophy during Australien Open.
+# of 5.004 anyway, earned another trophy during Australian Open.
 #
 # use the following two lines to enable USE_PERL_SBRK. Try this if you
 # encounter intermittent core dumps:
-#ccflags='-DUSE_NEXT_CTYPE -DUSE_PERL_SBRK -DHIDEMYMALLOC'
+#ccflags='-DUSE_NEXT_CTYPE -DUSE_PERL_SBRK'
 #usemymalloc='y'
 # use the following two lines if you have perl5.003_22 or better and
 # do not encounter intermittent core dumps.
 
-ccflags='-DUSE_NEXT_CTYPE'
+ccflags="$ccflags -DUSE_NEXT_CTYPE"
 usemymalloc='n'
 
 ######################################################################
@@ -72,9 +72,9 @@ cccdlflags=' '
 # If you want to build for specific architectures, change the line
 # below to something like
 #
-#      archs=(m68k i386)
+#      archs='m68k i386'
 #
-archs=`/bin/lipo -info /usr/lib/libm.a | sed 's/^[^:]*:[^:]*: //'`
+archs=`/bin/lipo -info /usr/lib/libm.a | sed -n 's/^[^:]*:[^:]*: //p'`
 
 #
 # leave the following part alone
@@ -129,3 +129,13 @@ ranlib='sleep 5; /bin/ranlib'
 # This is true whether we're on an HPPA machine or cross-compiling
 # for one.
 pp_cflags='optimize=""'
+
+# The SysV IPC is optional (ftp://ftp.nluug.nl/pub/comp/next/SysVIPC/)
+# Gerben_Wierda@RnA.nl
+if [ -f /usr/local/lib/libIPC.a ]; then
+  libswanted="$libswanted IPC"
+  # As of Sep 1998 d_msg wasn't supported in that library,
+  # only d_sem and d_shm, but Configure should be able to
+  # figure that out. --jhi
+  # Note also the next3 ext/IPC/SysV hints file.
+fi