3 set `echo $glibpth | sed -e 's@/usr/ucblib@@'`
5 # Remove bad libraries. -lucb contains incompatible routines.
6 # -lld doesn't do anything useful.
7 # -lmalloc can cause a problem with GNU CC & Solaris. Specifically,
8 # libmalloc.a may allocate memory that is only 4 byte aligned, but
9 # GNU CC on the Sparc assumes that doubles are 8 byte aligned.
10 # Thanks to Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>
11 set `echo " $libswanted " | sed -e 's@ ld @ @' -e 's@ malloc @ @' -e 's@ ucb @ @'`
14 # Look for architecture name. We want to suggest a useful default
15 # for archlib and also warn about possible -x486 flags needed.
18 if test -f /usr/bin/arch; then
19 archname=`/usr/bin/arch`
20 archname="${archname}-${osname}"
21 elif test -f /usr/ucb/arch; then
22 archname=`/usr/ucb/arch`
23 archname="${archname}-${osname}"
28 *86*) echo "For an Intel platform you might need to add -x486 to ccflags" >&4;;
33 */usr/ucb*:/usr/bin:*) cat <<END
34 NOTE: Some people have reported problems with /usr/ucb/cc.
35 Remove /usr/ucb from your PATH if you have difficulties.