]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
configure: use the SED value to invoke sed
authorDaniel Gustafsson <daniel@yesql.se>
Sat, 21 May 2022 13:34:24 +0000 (15:34 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Sat, 21 May 2022 13:34:24 +0000 (15:34 +0200)
Rather than assuming sed in PATH, use the resolved $SED variable
like in all other invocations of sed in configure.

Closes: #8891
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Reviewed-by: Marcel Raad <Marcel.Raad@teamviewer.com>
configure.ac

index d24daeab80f63ed25e412dc6d17e696f17d7d4a5..f89c266c9b9e6d1c4655865286f63b0936c624e5 100644 (file)
@@ -728,7 +728,7 @@ if test X"$want_hyper" != Xno; then
           AC_MSG_NOTICE([Added $DIR_HYPER to CURL_LIBRARY_PATH]),
        )
       ],
-      for d in `echo $DIR_HYPER | sed -e 's/:/ /'`; do
+      for d in `echo $DIR_HYPER | $SED -e 's/:/ /'`; do
         if test -f "$d/libhyper.a"; then
           AC_MSG_ERROR([hyper was found in $d but was probably built with wrong flags. See docs/HYPER.md.])
         fi