From 4e373ebe1308473a47ae1ba9da291a505184a9cb Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Wed, 30 Oct 2013 18:17:21 +1300 Subject: [PATCH] funclib.sh: improve comments. * gl/build-aux/funclib.sh: Add a comment explaining the need for extra SED and GREP searches. Signed-off-by: Gary V. Vaughan --- gl/build-aux/funclib.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gl/build-aux/funclib.sh b/gl/build-aux/funclib.sh index aedc85cc..7dd99c17 100644 --- a/gl/build-aux/funclib.sh +++ b/gl/build-aux/funclib.sh @@ -194,6 +194,11 @@ else fi +# We want to be able to use the functions in this file before configure +# has figured out where the best binaries are kept, which means we have +# to search for them ourselves - except when the results are already set +# where we skip the searches. + # Unless the user overrides by setting SED, search the path for either GNU # sed, or the sed that truncates its output the least. test -z "$SED" && { @@ -236,7 +241,7 @@ test -z "$SED" && { # Unless the user overrides by setting GREP, search the path for either GNU -# grep, or the sed that truncates its output the least. +# grep, or the grep that truncates its output the least. test -z "$GREP" && { func_check_prog_grep () {