X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=configure;h=9428296b75825aef8b26e08f9a3c6e099189c3b7;hb=18ff92375257efa1ba4a4441079b0cd587661bfe;hp=7c5a38ce6e2dae6f3d4cf075081e81231c92747d;hpb=35ee06686adbfa4dd0feca625eb9a0dfee2d087e;p=fips diff --git a/configure b/configure index 7c5a38c..9428296 100755 --- a/configure +++ b/configure @@ -217,6 +217,32 @@ exit 1 fi +printf "Checking for working C compiler (${CC})... " +printf "int main(void){return 42;}\n" > minimal.c +if ${CC} -o minimal minimal.c > /dev/null 2>&1 +then + printf "Yes.\n" +else + printf "No.\n" + cat <