From 262d3eaea39294df3f6172b28213e927e2f3b424 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Fri, 1 Dec 2023 00:46:35 -0500 Subject: [PATCH] gl-patches: Stub out gl_CC_GNULIB_WARNINGS. We don't need these pointless additional configure tests when using newer gnulib (this trick imported from rrace). --- m4/gl-patches.m4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/m4/gl-patches.m4 b/m4/gl-patches.m4 index 5e4d3e1..887db7a 100644 --- a/m4/gl-patches.m4 +++ b/m4/gl-patches.m4 @@ -46,3 +46,8 @@ _DX_GL_PATCH([gl-threadlib-mingw-default], [DX_PATCH_MACRO([gl_THREADLIB_EARLY_BODY], [\[gl_use_winpthreads_default=\]], [[gl_use_winpthreads_default=no]])]) + +# Remove silly warning flag probes that are included unconditionally in newer +# gnulib and bloat downstream configure scripts for no real reason. +_DX_GL_PATCH([gl-no-warnings], + [m4_ifdef([gl_CC_GNULIB_WARNINGS], [AC_DEFUN([gl_CC_GNULIB_WARNINGS])])]) -- 2.43.2