In gentoo OS the pam config file must be installed in /etc/pam.d/ How to edit the autoreconf's config files to change $sysconfdir, $pamddir.