From a030c17db3cb2447ddde8f833f2c400b9a212d29 Mon Sep 17 00:00:00 2001 From: Hailong Liu Date: Sat, 16 Apr 2022 23:44:50 -0700 Subject: [PATCH] configure: replace rpm -q with clang -v Some platforms such as ubuntu knows nothing about rpm; if we want to check clang, we can check it directly. Signed-off-by: Hailong Liu --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index aa14024f..3d679206 100755 --- a/configure +++ b/configure @@ -55,7 +55,7 @@ check_bpf_kernel() { check_bpf_depend() { check_bpf_kernel if [ $kernel_bpf_support = "YES" ];then - rpm -q clang > /dev/null + clang -v > /dev/null if [ $? = 0 ];then echo "check clang OK" else -- Gitee