Use HAVE_SIA_SES_INIT instead of HAVE_SIA for Digital UNIX

This commit is contained in:
Todd C. Miller
2008-12-02 17:30:39 +00:00
parent 2464ba1f58
commit 02a894a09c
4 changed files with 3 additions and 11 deletions

View File

@@ -94,7 +94,7 @@ int securid_verify __P((struct passwd *pw, char *pass, sudo_auth *auth));
# define AUTH_STANDALONE \
AUTH_ENTRY(0, "SecurId", \
securid_init, securid_setup, securid_verify, NULL)
#elif defined(HAVE_SIA)
#elif defined(HAVE_SIA_SES_INIT)
# define AUTH_STANDALONE \
AUTH_ENTRY(0, "sia", \
NULL, sia_setup, sia_verify, sia_cleanup)

View File

@@ -354,8 +354,8 @@
/* Define to 1 if you have the `set_auth_parameters' function. */
#undef HAVE_SET_AUTH_PARAMETERS
/* Define to 1 if you use SIA authentication. */
#undef HAVE_SIA
/* Define to 1 if you have the `sia_ses_init' function. */
#undef HAVE_SIA_SES_INIT
/* Define to 1 if you have the `sigaction' function. */
#undef HAVE_SIGACTION

6
configure vendored
View File

@@ -20014,10 +20014,6 @@ done
if test "$found" = "true"; then
AUTH_EXCL=SIA
AUTH_OBJS="$AUTH_OBJS sia.o"
cat >>confdefs.h <<\_ACEOF
#define HAVE_SIA 1
_ACEOF
fi
fi
@@ -24918,8 +24914,6 @@ fi

View File

@@ -1955,7 +1955,6 @@ if test ${CHECKSIA-'false'} = "true"; then
if test "$found" = "true"; then
AUTH_EXCL=SIA
AUTH_OBJS="$AUTH_OBJS sia.o"
AC_DEFINE(HAVE_SIA)
fi
fi
@@ -2568,7 +2567,6 @@ AH_TEMPLATE(HAVE_PAM, [Define to 1 if you use PAM authentication.])
AH_TEMPLATE(HAVE_PROJECT_H, [Define to 1 if you have the <project.h> header file.])
AH_TEMPLATE(HAVE_SECURID, [Define to 1 if you use SecurID for authentication.])
AH_TEMPLATE(HAVE_SELINUX, [Define to 1 to enable SELinux RBAC support.])
AH_TEMPLATE(HAVE_SIA, [Define to 1 if you use SIA authentication.])
AH_TEMPLATE(HAVE_SIGACTION_T, [Define to 1 if <signal.h> has the sigaction_t typedef.])
AH_TEMPLATE(HAVE_SKEY, [Define to 1 if you use S/Key.])
AH_TEMPLATE(HAVE_SKEYACCESS, [Define to 1 if your S/Key library has skeyaccess().])