Per discussion at Develoepr's Meeting, remove Solaris threads support.  Solaris
will just fall back to pthreads, which should be no problem.
Bring over m4 quoting fix from v1.7 branch (in r29894) that was
discovered when removing some components.