In HP-UX set ar to /usr/bin/ar but only iff none set.
Jarkko Hietaniemi [Wed, 25 Apr 2001 12:36:11 +0000 (12:36 +0000)]
p4raw-id: //depot/perl@9833

hints/hpux.sh

index 5d9abcb..f6b18fd 100644 (file)
@@ -45,7 +45,7 @@ ldflags="$ldflags -D_HPUX_SOURCE"
 toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'
 
 cc=${cc:-cc}
-ar=/usr/bin/ar
+ar=${ar:-/usr/bin/ar}
 
 case `$cc -v 2>&1`"" in
     *gcc*)  ccisgcc="$define" ;;