From 7df596a58cdfa763924487b8c275269de3497304 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 5 Jun 2022 12:09:02 -0700 Subject: grep: egrep -> grep -E, fgrep -> grep -F Newer versions of GNU grep (after grep 3.7, not inclusive) will warn on 'egrep' and 'fgrep' invocations. Convert usages within the tree to their expanded non-aliased counterparts to avoid irritating warnings during ./configure and the test suite. Signed-off-by: Sam James Reviewed-by: Fangrui Song --- sysdeps/i386/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/i386/configure') diff --git a/sysdeps/i386/configure b/sysdeps/i386/configure index af50c5bfab..cbb66097bd 100644 --- a/sysdeps/i386/configure +++ b/sysdeps/i386/configure @@ -28,7 +28,7 @@ int _start (void) { int a, b, c; __sync_val_compare_and_swap (&a, b, c); return EOF if ! { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp -O0 -nostdlib -nostartfiles - -S conftest.c -o - | fgrep "__sync_val_compare_and_swap" + -S conftest.c -o - | grep -F "__sync_val_compare_and_swap" 1>&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 -- cgit v1.2.3