From d14687025c0c61d047e4252036d1b024d62cb0a6 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Mon, 19 Sep 2022 09:34:13 -0400 Subject: [PATCH] configure: change grep -P to grep -E grep -P is not supported on FreeBSD. So use grep -E when we check whether the value provided for --seed-buckets is a number or not. Reported-by: Rebecca Cran Link: https://lore.kernel.org/fio/26076f36-54d5-ca6e-0b96-a7371b1c5e49@bsdio.com/T/#t Signed-off-by: Vincent Fu --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 7741ef4f..546541a2 100755 --- a/configure +++ b/configure @@ -117,7 +117,7 @@ has() { } num() { - echo "$1" | grep -P -q "^[0-9]+$" + echo "$1" | grep -E -q "^[0-9]+$" } check_define() { -- 2.25.1