Fix uses of libwinpthread on mingw 10. * m4/threadlib.m4 (gl_WEAK_SYMBOLS): On mingw, set the result to "guessing no".