X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=configure;h=9428296b75825aef8b26e08f9a3c6e099189c3b7;hb=18ff92375257efa1ba4a4441079b0cd587661bfe;hp=44c3356ca3e2b5e8e7749029fabc68f38207d24f;hpb=4d29531b93f1a9bab2bea14a2722f9ae52359941;p=fips diff --git a/configure b/configure index 44c3356..9428296 100755 --- a/configure +++ b/configure @@ -217,7 +217,33 @@ exit 1 fi -printf "Checking for talloc development files... " +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 <