source: trunk/third/perl/hints/isc_2.sh @ 14545

Revision 14545, 632 bytes checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r14544, which included commits to RCS files with non-trunk default branches.
Line 
1#  isc_2.sh
2#  Interactive Unix Version 2.2
3#  Compile perl entirely in posix mode.
4#  Andy Dougherty               doughera@lafcol.lafayette.edu
5#  Wed Oct  5 15:57:37 EDT 1994
6#
7# Use Configure -Dcc=gcc to use gcc
8#
9set `echo X "$libswanted "| sed -e 's/ c / /'`
10shift
11libswanted="$*"
12case "$cc" in
13*gcc*)  ccflags="$ccflags -posix"
14        ldflags="$ldflags -posix"
15        ;;
16*)      ccflags="$ccflags -Xp -D_POSIX_SOURCE"
17        ldflags="$ldflags -Xp"
18        ;;
19esac
20# Compensate for conflicts in <net/errno.h>
21doio_cflags='ccflags="$ccflags -DENOTSOCK=103"'
22pp_sys_cflags='ccflags="$ccflags -DENOTSOCK=103"'
23
24# for ext/IPC/SysV/SysV.xs
25ccflags="$ccflags -DPERL_ISC"
Note: See TracBrowser for help on using the repository browser.