typo
Move LIBS re-setting outside the if XNU conditional so that autoconf does not complain.
Add forgotten m4 file to dist tarball.
distribute test script
Merge pull request #1974 from jimis/3.6.x

Needed changes for source tarball.