diff options
Diffstat (limited to 'hints/isc_2.sh')
-rw-r--r-- | hints/isc_2.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/hints/isc_2.sh b/hints/isc_2.sh new file mode 100644 index 0000000000..95b61ba773 --- /dev/null +++ b/hints/isc_2.sh @@ -0,0 +1,24 @@ +# 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 +# Pick up dbm.h in <rpcsvc/dbm.h> +ccflags="$ccflags -I/usr/include/rpcsvc" +# Compensate for conflicts in <net/errno.h> +doio_cflags='ccflags="$ccflags -DENOTSOCK=103"' +pp_sys_cflags='ccflags="$ccflags -DENOTSOCK=103"' |