From: Amos Jeffries Date: Mon, 3 Jun 2013 14:38:26 +0000 (-0600) Subject: Fix basic_pam_auth helper detection X-Git-Tag: SQUID_3_4_0_1~78 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f6c0a80247ed5cf166bbea74b0fdfd78fdc1e104;p=thirdparty%2Fsquid.git Fix basic_pam_auth helper detection The m4_include() for this helpers test script was omitted from rev.12782. Add that in, and shuffle the PAM-specific configure tests into the helper required.m4 script. --- diff --git a/configure.ac b/configure.ac index ff84540b1d..4f92468ee1 100644 --- a/configure.ac +++ b/configure.ac @@ -2202,7 +2202,6 @@ AC_CHECK_HEADERS( \ shadow.h \ regex.h \ sched.h \ - security/pam_appl.h \ siginfo.h \ signal.h \ sstream \ @@ -2254,8 +2253,6 @@ AC_CHECK_HEADERS( \ wchar.h ) -CHECK_STRUCT_PAM_CONV - AC_CHECK_HEADERS( linux/netfilter_ipv4.h ,,, diff --git a/helpers/basic_auth/PAM/required.m4 b/helpers/basic_auth/PAM/required.m4 index b5a20783bb..a59f77e1b0 100755 --- a/helpers/basic_auth/PAM/required.m4 +++ b/helpers/basic_auth/PAM/required.m4 @@ -1 +1,4 @@ -AC_CHECK_HEADERS([security/pam_appl.h],[BUILD_HELPER="PAM"]) +AC_CHECK_HEADERS([security/pam_appl.h],[ + BUILD_HELPER="PAM" + CHECK_STRUCT_PAM_CONV +]) diff --git a/helpers/basic_auth/modules.m4 b/helpers/basic_auth/modules.m4 index 763b7b822d..9abb40ce35 100644 --- a/helpers/basic_auth/modules.m4 +++ b/helpers/basic_auth/modules.m4 @@ -49,6 +49,9 @@ if test "x$enable_auth_basic" != "xno" ; then elif test "x$helper" = "xNIS" ; then m4_include([helpers/basic_auth/NIS/required.m4]) + elif test "x$helper" = "xPAM" ; then + m4_include([helpers/basic_auth/PAM/required.m4]) + elif test "x$helper" = "xPOP3" ; then m4_include([helpers/basic_auth/POP3/required.m4])