add -L/lib/pa20_64 only iff there.
p4raw-id: //depot/cfgperl@5315
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Mon Feb 28 08:07:01 EET 2000 [metaconfig 3.0 PL70]
+# Generated on Mon Feb 28 08:28:06 EET 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
xxx=$thisdir/lib${thislib}_s$_a
$test -f "$xxx" && eval $libscheck
$test -f "$xxx" && libstyle=static
+ $test -f "$xxx" && thislib=${thislib}_s
fi
if test ! -f "$xxx"; then
xxx=$thisdir/Slib$thislib$_a
ccflags="$ccflags +DD64"
ldflags="$ldflags +DD64"
- loclibpth="$loclibpth /lib/pa20_64"
+ test -d /lib/pa20_64 && loclibpth="$loclibpth /lib/pa20_64"
libscheck='case "`file $xxx`" in
*LP64*|*PA-RISC2.0*) ;;
*) xxx=/no/64-bit$xxx ;;
libswanted="$*"
case "`$cc -v 2>&1`" in
- *gcc*) ccflags="$ccflags -L/lib/pa20_64" ;;
+ *gcc*) test -d /lib/pa20_64 && ccflags="$ccflags -L/lib/pa20_64" ;;
esac
;;
*) loclibpth="$loclibpth /lib/pa1.1"
case "`$cc -v 2>&1`" in
- *gcc*) ccflags="$ccflags -L/lib/pa20_64" ;;
+ *gcc*) test -d /lib/pa20_64 && ccflags="$ccflags -L/lib/pa20_64" ;;
esac
;;
esac