This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
new perldelta
[perl5.git] / hints / isc.sh
index 0ecdb7d..970e900 100644 (file)
@@ -1,14 +1,14 @@
 #  isc.sh
 #  Interactive Unix Versions 3 and 4. 
 #  Compile perl entirely in posix mode. 
-#  Andy Dougherty              doughera@lafcol.lafayette.edu
+#  Andy Dougherty              doughera@lafayette.edu
 #  Wed Oct  5 15:57:37 EDT 1994
 #
 # Use Configure -Dcc=gcc to use gcc
 #
 
 # We don't want to explicitly mention -lc (since we're using POSIX mode.)
-# We also don't want -lx (the Xenix compatability libraries.) The only
+# We also don't want -lx (the Xenix compatibility libraries.) The only
 # thing that it seems to pick up is chsize(), which has been reported to
 # not work.  chsize() can also be implemented via fcntl() in perl (if you
 # define -D_SYSV3).  We'll leave in -lPW since it's harmless.  Some
@@ -28,10 +28,17 @@ case "$cc" in
        ;;
 esac
 
+# getsockname() and getpeername() return 256 for no good reason
+ccflags="$ccflags -DBOGUS_GETNAME_RETURN=256"
+
+# rename(2) can't rename long filenames
+d_rename=undef
+
+# for ext/IPC/SysV/SysV.xs
+ccflags="$ccflags -DPERL_ISC"
+
 # You can also include -D_SYSV3 to pick up "traditionally visible"
 # symbols hidden by name-space pollution rules.  This raises some
 # compilation "redefinition" warnings, but they appear harmless.
 # ccflags="$ccflags -D_SYSV3"
 
-# Pick up dbm.h in <rpcsvc/dbm.h>
-ccflags="$ccflags -I/usr/include/rpcsvc"