On Wednesday 2012-09-19 14:59, Rich Megginson wrote:
On 09/18/2012 10:44 PM, Jan Engelhardt wrote:
> The requirement for pam-devel is indeed listed on
, though having configure.ac doing a
> gratitious check would be nice (it does not do so as of 126.96.36.199).
Is there a way to conditionally check headers? Ideally, we would only check
for the presence of security/pam_appl.h if --enable-pam-passthru is set.
Would placing AC_CHECK_HEADERS into the AC_ARG_ENABLE's 3rd arg not suffice?
Or one can probably also unconditionally check and only error out
when pam-passthru is chosen.
AC_ARG_ENABLE([pam-passthru], [help text],
[if test "$ac_cv_header_security_pam_appl_h" = no"; then