Add pthread detection to configure.ac to get cflags and libs right
3 files changed