Displaying 1 result from an estimated 1 matches for "otp_cflag".
Did you mean:
otp_cflags
2007 Apr 15
1
dovecot pam const
...r of PAM, better to check for actual
const usage ... some vendors have changed const-ness between releases.
Also, actually testing constness is great for supporting new
implementations that may come out.
Here is the autoconf test I use in pam_otp_auth:
--8<--
# Check PAM headers for brokenness
otp_CFLAGS="$CFLAGS" # save
CFLAGS="$CFLAGS $EXTRA_CFLAGS -Werror"
# Linux-PAM has (incorrectly) overdone const
AC_MSG_CHECKING(for extra const in PAM headers)
AC_TRY_COMPILE([#include <security/pam_appl.h>],
[
pam_handle_t *pamh = NULL;...