pthread test does not try with -lpthread
I've got configure (autotools) thread model test to fail on an exotic platform as the pthreads test does not try linking with -lpthread.
There's opposite problem with C11 threads check (it checks *only* with -lpthread): https://www.hostedredmine.com/issues/852950
Going to push also to S2_6 (separate patch attached) as that's where AmigaOS work is first being done.
I've got configure (autotools) thread model test to fail on an exotic platform as the pthreads test does not try linking with -lpthread.