# Expect script for various DWARF tests.
-# Copyright (C) 2006-2017 Free Software Foundation, Inc.
+# Copyright (C) 2006-2019 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
}
# Check if compiler works
-if { [which $CC] == 0 } {
+if { ![check_compiler_available] } {
return
}