]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
funclib.sh: improve comments.
authorGary V. Vaughan <gary@gnu.org>
Wed, 30 Oct 2013 05:17:21 +0000 (18:17 +1300)
committerGary V. Vaughan <gary@gnu.org>
Wed, 1 Jan 2014 23:06:29 +0000 (12:06 +1300)
* gl/build-aux/funclib.sh: Add a comment explaining the need for
extra SED and GREP searches.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
gl/build-aux/funclib.sh

index aedc85cccda3da91b8a45d1a67d9e4e1e21edad0..7dd99c17f3e627f33bf8fbf4adae3b49150140eb 100644 (file)
@@ -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 ()
   {