Use $(GREP) and $(EGREP) variables in Makefile.in files.

This commit is contained in:
Todd C. Miller
2022-09-12 16:30:52 -06:00
parent f235390d1e
commit a326411903
8 changed files with 33 additions and 24 deletions

View File

@@ -36,6 +36,7 @@ cross_compiling = @CROSS_COMPILING@
# Compiler & tools to use
CC = @CC@
LIBTOOL = @LIBTOOL@
GREP = @GREP@
SED = @SED@
AWK = @AWK@
@@ -227,7 +228,7 @@ check-fuzzer:
check: $(TEST_PROGS) check-fuzzer
@if test X"$(cross_compiling)" != X"yes"; then \
if locale -a 2>&1 | grep '^C.UTF-8$$' >/dev/null 2>&1; then \
if locale -a 2>&1 | $(GREP) '^C.UTF-8$$' >/dev/null 2>&1; then \
LC_ALL=C.UTF-8; export LC_ALL; \
else \
LC_ALL=C; export LC_ALL; \