From 6d9b56ba0a54a896ef4cafdc1ab1ca2595a07eb4 Mon Sep 17 00:00:00 2001 From: sudden6 Date: Mon, 30 May 2022 23:42:59 +0200 Subject: use --version flag to check for C compiler --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 715027445..0daae1a05 100755 --- a/configure +++ b/configure @@ -204,7 +204,7 @@ if ! $GNATMAKE --version >/dev/null 2>&1; then fi # Check that compiler exists -if ! $CC -v 2> /dev/null; then +if ! $CC --version 2> /dev/null; then echo "Sorry, you need a C compiler to build GHDL. See the README" exit 1 fi -- cgit v1.2.3