configure: replace stray raw grep with $GREP

Follow-up to 7cc2e8b349
Follow-up to bfaab6ed6b
Cherry-picked from #22543

Closes #22554
This commit is contained in:
Viktor Szakats 2026-08-12 11:02:20 +02:00
parent cd238bb7ad
commit acd9411b01
No known key found for this signature in database

View file

@ -2814,7 +2814,7 @@ AS_HELP_STRING([--disable-versioned-symbols], [Disable versioned symbols in shar
*)
AC_MSG_RESULT(yes)
AC_MSG_CHECKING([if libraries can be versioned])
GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
GLD=`$LD --help < /dev/null 2>/dev/null | $GREP version-script`
if test -z "$GLD"; then
AC_MSG_RESULT(no)
AC_MSG_WARN([You need an ld version supporting the --version-script option])