diff options
author | sudden6 <sudden6@users.noreply.github.com> | 2022-05-30 23:42:59 +0200 |
---|---|---|
committer | sudden6 <sudden6@users.noreply.github.com> | 2022-05-30 23:42:59 +0200 |
commit | 6d9b56ba0a54a896ef4cafdc1ab1ca2595a07eb4 (patch) | |
tree | 59e7acc13afeb055eeeb753e7fc7ffc72e4dc753 /configure | |
parent | 196b09e4568e70bcfb435375e47b77df154fc29f (diff) | |
download | ghdl-6d9b56ba0a54a896ef4cafdc1ab1ca2595a07eb4.tar.gz ghdl-6d9b56ba0a54a896ef4cafdc1ab1ca2595a07eb4.tar.bz2 ghdl-6d9b56ba0a54a896ef4cafdc1ab1ca2595a07eb4.zip |
use --version flag to check for C compiler
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |