| Line | |
|---|
| 1 | # isc_2.sh
|
|---|
| 2 | # Interactive Unix Version 2.2
|
|---|
| 3 | # Compile perl entirely in posix mode.
|
|---|
| 4 | # Andy Dougherty [email protected]
|
|---|
| 5 | # Wed Oct 5 15:57:37 EDT 1994
|
|---|
| 6 | #
|
|---|
| 7 | # Use Configure -Dcc=gcc to use gcc
|
|---|
| 8 | #
|
|---|
| 9 | set `echo X "$libswanted "| sed -e 's/ c / /'`
|
|---|
| 10 | shift
|
|---|
| 11 | libswanted="$*"
|
|---|
| 12 | case "$cc" in
|
|---|
| 13 | *gcc*) ccflags="$ccflags -posix"
|
|---|
| 14 | ldflags="$ldflags -posix"
|
|---|
| 15 | ;;
|
|---|
| 16 | *) ccflags="$ccflags -Xp -D_POSIX_SOURCE"
|
|---|
| 17 | ldflags="$ldflags -Xp"
|
|---|
| 18 | ;;
|
|---|
| 19 | esac
|
|---|
| 20 | # Compensate for conflicts in <net/errno.h>
|
|---|
| 21 | doio_cflags='ccflags="$ccflags -DENOTSOCK=103"'
|
|---|
| 22 | pp_sys_cflags='ccflags="$ccflags -DENOTSOCK=103"'
|
|---|
| 23 |
|
|---|
| 24 | # for ext/IPC/SysV/SysV.xs
|
|---|
| 25 | ccflags="$ccflags -DPERL_ISC"
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.