e67c4cb2a2
The autoconfigure configure.ac file was testing for pam incorrectly as was pointed out in a Gentoo bug. https://bugs.gentoo.org/show_bug.cgi?id=384615 I've borrowed xdm's method of testing for pam in configure.ac. Also, I've made pam a USE flag, following the example set by xdm.