Build: Sync the compile check changes from CMakeLists.txt
commit2c3e4cbbdcefe214ef3033a725049034b73e9756
authorLasse Collin <lasse.collin@tukaani.org>
Mon, 24 Jun 2024 20:34:34 +0000 (24 23:34 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 6 Sep 2024 16:25:52 +0000 (6 19:25 +0300)
treef2f5ca55a4f896e52d1a01c7d4fc89449f1492dd
parent809e69f1f574dad3c9b00d4f01b9ef1a492319f3
Build: Sync the compile check changes from CMakeLists.txt

It's nice to keep these in sync. The use of main() will later allow
AC_LINK_IFELSE usage too which may avoid the more fragile -Werror.

(cherry picked from commit 5a728813c378cc3c4c9c95793762452418d08f1b)
configure.ac