From 2df2562e2baa5ef31605175a2dfe0360e597a3dd Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Wed, 26 Apr 2023 21:17:21 +0200 Subject: autoconf: Add AC_LANG_SOURCE to fix warning --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d0254f5e..6283b2e4 100644 --- a/configure.ac +++ b/configure.ac @@ -1141,7 +1141,7 @@ AC_CONFIG_FILES([python/setup.py], [chmod +x python/setup.py]) AC_CONFIG_FILES([xml2-config], [chmod +x xml2-config]) AC_OUTPUT -AC_COMPILE_IFELSE([_Thread_local int v;], [], [ +AC_COMPILE_IFELSE([AC_LANG_SOURCE([_Thread_local int v;])], [], [ echo "================================================================" echo "WARNING: Your C compiler doesn't support C11." echo "Future versions of libxml2 will probably require a C11 compiler," -- cgit v1.2.1