--- a/configure.ac +++ b/configure.ac @@ -473,11 +473,12 @@ [ AS_IF([test "$CLANG" != no], [ - llc_candidates=$($CLANG --version | sed -e 's/.*clang version/clang version/' | \ - awk '/^clang version/ { - split($3, v, "."); - printf("llc-%s.%s llc-%s llc", v[[1]], v[[2]], v[[1]]) - }') + #llc_candidates=$($CLANG --version | sed -e 's/.*clang version/clang version/' | \ + # awk '/^clang version/ { + # split($3, v, "."); + # printf("llc-%s.%s llc-%s llc", v[[1]], v[[2]], v[[1]]) + # }') + llc_candidates=llc AC_CHECK_PROGS([LLC], [$llc_candidates], "no") if test "$LLC" = "no"; then AC_MSG_ERROR([unable to find any of $llc_candidates needed to build ebpf files])