From 1c33f270749498b4fa12d551e0689bcd193614df Mon Sep 17 00:00:00 2001 From: hans Date: Tue, 29 Nov 2011 15:06:20 +0000 Subject: On SunOS, don't build nawk if a native one is available. --- bootstrap/bootstrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index 2143a00dd8c..7e8dc187a00 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.171 2011/10/04 11:37:38 hans Exp $ +# $NetBSD: bootstrap,v 1.172 2011/11/29 15:06:20 hans Exp $ # # Copyright (c) 2001-2011 Alistair Crooks # All rights reserved. @@ -666,7 +666,7 @@ SunOS) fi root_group=root need_bsd_install=yes - if [ -x "/usr/gnu/bin/awk" ]; then + if [ -x "/usr/gnu/bin/awk" -o -x "/usr/bin/nawk" ]; then need_awk=no else need_awk=yes -- cgit v1.2.3