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