Pth support/detection in configure.in

Hello SDL guys,

I have been reported a problem when compiling SDL with pth on NetBSD. I
originally added pth support via the CheckPTH macro in configure.in for
the MiNT target. I saw that in the configure.in:

CheckPTHREAD()
{
[snip]
CheckPTH
[snip]
}

I think it would be best to do this sort of thing in a cleaner way;
CheckPTHREAD just checks for the pthread library, and CheckPTH just check
the pth library, no mix.

mytarget)
CheckPTHREAD
CheckPTH

The problem I was speaking about was non-working SDL timer stuff with pth
library under NetBSD. This is all I know. NetBSD maintainer, are you
there ? Do the SDL timer- and thread-related test programs work ?–
Patrice Mandin
WWW: http://membres.lycos.fr/pmandin/
Programmeur Linux, Atari
Sp?cialit?: D?veloppement, jeux