configure: Print an error and fail if we don't have libpthread.
2 files changed