Subject: CVS commit: pkgsrc/mk/configure
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 10/12/2006 17:57:06
Module Name: pkgsrc
Committed By: rillig
Date: Thu Oct 12 17:57:06 UTC 2006
Modified Files:
pkgsrc/mk/configure: check-portability.mk configure.mk
Added Files:
pkgsrc/mk/configure: check-portability.sh
Log Message:
Portability checks, version two.
The actual check has moved into a shell file to allow for nice-looking
code. Instead of only the configure scripts, it scans all files whose
first line matches "#!*/bin/sh". Therefore the check is run no matter if
HAS_CONFIGURE is set or not.
Added a warning (not an error) for every use of $RANDOM that is not
combined with $$, the process ID. $RANDOM is only implemented by bash
and some versions of the ksh.
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 pkgsrc/mk/configure/check-portability.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/configure/check-portability.sh
cvs rdiff -r1.10 -r1.11 pkgsrc/mk/configure/configure.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.