compiling policykit without pam development files will result in just: polkit-session.c:37:31: security/pam_appl.h: No such file or directory instead of a proper error message from configure.in. at least on debian stable, installing libpam0g-dev fixed this issue.
*** This bug has been marked as a duplicate of 6476 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.