]> git.draconx.ca Git - dxcommon.git/commitdiff
gl-patches: Stub out gl_CC_GNULIB_WARNINGS.
authorNick Bowler <nbowler@draconx.ca>
Fri, 1 Dec 2023 05:46:35 +0000 (00:46 -0500)
committerNick Bowler <nbowler@draconx.ca>
Fri, 1 Dec 2023 05:46:35 +0000 (00:46 -0500)
We don't need these pointless additional configure tests when using
newer gnulib (this trick imported from rrace).

m4/gl-patches.m4

index 5e4d3e15d7283d6d8a7ecf0997c4f2b3a41f6cb0..887db7a18f7ebf87fc62a5aa8bc6890bee79d230 100644 (file)
@@ -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])])])