diff options
author | Eivind Næss <eivnaes@yahoo.com> | 2022-07-15 07:46:43 -0700 |
---|---|---|
committer | Eivind Næss <eivnaes@yahoo.com> | 2022-07-15 15:25:39 -0700 |
commit | ee860dc3de8647e67bc907bd9fd60650a22155ca (patch) | |
tree | 44eb3e1d191218eb4df0c132a75182bba114e986 /m4/ax_check_pam.m4 | |
parent | 509f04959ad891d7f981f035ed461d51bd1f74b0 (diff) | |
download | ppp-ee860dc3de8647e67bc907bd9fd60650a22155ca.tar.gz |
Fix build for when --without-[srp|atm|pcap|pam]=no, the value would be "no" and not empty in that case
Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
Diffstat (limited to 'm4/ax_check_pam.m4')
-rw-r--r-- | m4/ax_check_pam.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_check_pam.m4 b/m4/ax_check_pam.m4 index edb30e3..b17a757 100644 --- a/m4/ax_check_pam.m4 +++ b/m4/ax_check_pam.m4 @@ -77,7 +77,7 @@ AC_DEFUN([AX_CHECK_PAM], [ $1 ], [ AC_MSG_RESULT([no]) - with_pam="" + with_pam="no" $2 ]) CPPFLAGS="$save_CPPFLAGS" @@ -88,6 +88,6 @@ AC_DEFUN([AX_CHECK_PAM], [ AC_SUBST([PAM_LIBS]) AC_SUBST([PAM_LDFLAGS]) fi - AM_CONDITIONAL(WITH_LIBPAM, test -n "${with_pam}") + AM_CONDITIONAL(WITH_LIBPAM, test "x${with_pam}" != "xno") ]) |