Demote search.h to obsolete.
PTHREAD_CANCELED is a void*.
More decltests.  X5 now complete but for sys/.
Compile the optional-feature tests too.