--- configure.ac.orig 2023-02-16 00:42:34 UTC +++ configure.ac @@ -164,7 +164,7 @@ then if test x$GCC = xyes then CFLAGS="$CFLAGS -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment" - if test ` $CC -dumpversion | sed -e 's/\(^.\).*/\1/'` = "4" ; then + if ! $CC -v 2>&1 | grep clang > /dev/null && test ` $CC -dumpversion | sed -e 's/\(^.\).*/\1/'` = "4" ; then CFLAGS="$CFLAGS -fno-tree-ter" fi fi