summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2023-04-26 21:17:21 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2023-04-26 21:22:17 +0200
commit2df2562e2baa5ef31605175a2dfe0360e597a3dd (patch)
treebebd5bbfb84ea1e9d7c68c7e6e7a2eddd28182bf
parent107e00a5be7c2cd1b812e54989a6a89687506eef (diff)
downloadlibxml2-2df2562e2baa5ef31605175a2dfe0360e597a3dd.tar.gz
autoconf: Add AC_LANG_SOURCE to fix warning
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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,"