[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])])])