]> git.draconx.ca Git - dxcommon.git/blobdiff - m4/gl-patches.m4
gl-patches: Stub out gl_CC_GNULIB_WARNINGS.
[dxcommon.git] / 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])])])