From: VMware, Inc <> Date: Mon, 26 Sep 2011 18:08:22 +0000 (-0700) Subject: open-vm-tools: enable PAM check for non-Linux builds. X-Git-Tag: 2011.09.23-491607~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11f471fda5e6c2dc3550ae3d232fcf732ab46e63;p=thirdparty%2Fopen-vm-tools.git open-vm-tools: enable PAM check for non-Linux builds. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/configure.ac b/open-vm-tools/configure.ac index 201cc8de5..8f4c5c609 100644 --- a/open-vm-tools/configure.ac +++ b/open-vm-tools/configure.ac @@ -382,25 +382,23 @@ AC_VMW_CHECK_LIB([fuse], # # Check for PAM. # -if test "$os" = "linux"; then - AC_ARG_WITH([pam], - [AS_HELP_STRING([--without-pam], - [compiles without PAM support.])], - [], - [with_pam=yes]) +AC_ARG_WITH([pam], + [AS_HELP_STRING([--without-pam], + [compiles without PAM support.])], + [], + [with_pam=yes]) - if test "$with_pam" = "yes"; then - AC_VMW_DEFAULT_FLAGS([PAM]) - AC_VMW_CHECK_LIB([pam], - [PAM], - [], - [], - [], - [security/pam_appl.h], - [pam_start], - [PAM_CPPFLAGS="$PAM_CPPFLAGS -DUSE_PAM"], - [AC_VMW_LIB_ERROR([PAM], [pam])]) - fi +if test "$with_pam" = "yes"; then + AC_VMW_DEFAULT_FLAGS([PAM]) + AC_VMW_CHECK_LIB([pam], + [PAM], + [], + [], + [], + [security/pam_appl.h], + [pam_start], + [PAM_CPPFLAGS="$PAM_CPPFLAGS -DUSE_PAM"], + [AC_VMW_LIB_ERROR([PAM], [pam])]) fi #