Commit f7d8be0 for zlib

commit f7d8be0478cb9fa802305dbcf5afb82f23539ed7
Author: Mark Adler <git@madler.net>
Date:   Sat Feb 7 22:29:42 2026 -0800

    Add a test to configure to check for a working compiler.

diff --git a/configure b/configure
index e183abb..daa4aa7 100755
--- a/configure
+++ b/configure
@@ -476,6 +476,13 @@ tryboth()
 cat > $test.c << EOF
 int foo() { return 0; }
 EOF
+echo "Checking for compiler..." >> configure.log
+if try $CC -c $test.c; then
+  :
+else
+  echo "Missing or broken C compiler." | tee -a configure.log
+  leave 1
+fi
 echo "Checking for obsessive-compulsive compiler options..." >> configure.log
 if try $CC -c $CFLAGS $test.c; then
   :