diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-05 10:52:40 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-05 10:52:40 +0000 |
commit | c6fdabdf40cb3a4f6907da2c19a644375f03c9cd (patch) | |
tree | bae91ec00f32773fe74b211162e2161b997940ae /mk | |
parent | 2ac6c85706a5fa2be8b089098af503029bf97883 (diff) | |
download | pkgsrc-c6fdabdf40cb3a4f6907da2c19a644375f03c9cd.tar.gz |
If a word in a configure script is "#", stop scanning that line for
"test ==".
Diffstat (limited to 'mk')
-rw-r--r-- | mk/configure/check-portability.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/configure/check-portability.mk b/mk/configure/check-portability.mk index 36b9b3a9cd5..cc66bc48c4f 100644 --- a/mk/configure/check-portability.mk +++ b/mk/configure/check-portability.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-portability.mk,v 1.3 2006/10/05 02:58:28 rillig Exp $ +# $NetBSD: check-portability.mk,v 1.4 2006/10/05 10:52:40 rillig Exp $ # # This file contains some checks that are applied to the configure # scripts to check for certain constructs that are known to cause @@ -46,6 +46,8 @@ _configure-check-for-test: if [ ":$$1" = ":test" ] && [ ":$$3" = ":==" ]; then \ found=yes; \ ${ERROR_MSG} "[configure.mk] $$line"; \ + elif [ ":$$1" = ":#" ]; then \ + break; \ fi; \ shift; \ done; \ |