diff options
Diffstat (limited to 'contrib/perl5/hints/isc_2.sh')
-rw-r--r-- | contrib/perl5/hints/isc_2.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/perl5/hints/isc_2.sh b/contrib/perl5/hints/isc_2.sh new file mode 100644 index 0000000..d8ca7dc --- /dev/null +++ b/contrib/perl5/hints/isc_2.sh @@ -0,0 +1,25 @@ +# isc_2.sh +# Interactive Unix Version 2.2 +# Compile perl entirely in posix mode. +# Andy Dougherty doughera@lafcol.lafayette.edu +# Wed Oct 5 15:57:37 EDT 1994 +# +# Use Configure -Dcc=gcc to use gcc +# +set `echo X "$libswanted "| sed -e 's/ c / /'` +shift +libswanted="$*" +case "$cc" in +*gcc*) ccflags="$ccflags -posix" + ldflags="$ldflags -posix" + ;; +*) ccflags="$ccflags -Xp -D_POSIX_SOURCE" + ldflags="$ldflags -Xp" + ;; +esac +# Compensate for conflicts in <net/errno.h> +doio_cflags='ccflags="$ccflags -DENOTSOCK=103"' +pp_sys_cflags='ccflags="$ccflags -DENOTSOCK=103"' + +# for ext/IPC/SysV/SysV.xs +ccflags="$ccflags -DPERL_ISC" |