From: Nick Bowler Date: Fri, 1 Dec 2023 05:46:35 +0000 (-0500) Subject: gl-patches: Stub out gl_CC_GNULIB_WARNINGS. X-Git-Url: https://git.draconx.ca/gitweb/dxcommon.git/commitdiff_plain/262d3eaea39294df3f6172b28213e927e2f3b424 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). --- 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])])])