This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl 5.000
[perl5.git] / hints / solaris_2.sh
CommitLineData
a0d0e21e
LW
1usevfork=false
2d_suidsafe=define
3ccflags="$ccflags"
4set `echo $glibpth | sed -e 's@/usr/ucblib@@'`
5glibpth="$*"
6set `echo " $libswanted " | sed -e 's@ ld @ @' -e 's@ ucb @ @'`
7libswanted="$*"
8
9# Look for architecture name. We want to suggest a useful default
10# for archlib and also warn about possible -x486 flags needed.
11case "$archname" in
12'')
13 if test -f /usr/bin/arch; then
14 archname=`/usr/bin/arch`
15 archname="${archname}-${osname}"
16 elif test -f /usr/ucb/arch; then
17 archname=`/usr/ucb/arch`
18 archname="${archname}-${osname}"
19 fi
20 ;;
21esac
22case "$archname" in
23*86*) echo "For an Intel platform you might need to add -x486 to ccflags" >&4;;
24*) ;;
25esac
26
27case $PATH in
28*/usr/ucb*:/usr/bin:*) cat <<END
29NOTE: Some people have reported problems with /usr/ucb/cc.
30Remove /usr/ucb from your PATH if you have difficulties.
31END
32;;
33esac