Ticket #26127: patch-configure.in.diff

File patch-configure.in.diff, 487 bytes (added by louis-francis.ratte-boulianne@…, 14 years ago)

Patch to check both header locations at configuration

  • configure.in

    old new  
    264264
    265265pam_status="no"
    266266if test "$enable_pam" != "no"; then
    267         AC_CHECK_HEADER(security/pam_modules.h, have_pam=yes, have_pam=no)
     267        AC_CHECK_HEADERS(security/pam_modules.h pam/pam_modules.h, have_pam=yes, have_pam=no)
    268268        if test "$enable_pam" = "yes" -a "$have_pam" = "no"; then
    269269                AC_MSG_ERROR(The PAM headers are missing)
    270270        elif test "$have_pam" = "yes"; then