From: Todd C. Miller Date: Wed, 12 Dec 2001 19:43:23 +0000 (+0000) Subject: Add check for skeyaccess(3) X-Git-Tag: SUDO_1_6_4~128 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f66fcb464b8145fcc95d51f05e94fb32e158080e;p=sudo Add check for skeyaccess(3) --- diff --git a/config.h.in b/config.h.in index 2c105e26e..20f8372f4 100644 --- a/config.h.in +++ b/config.h.in @@ -476,6 +476,9 @@ /* Define if you use S/Key. */ #undef HAVE_SKEY +/* Define if you have skeyaccess(3). */ +#undef HAVE_SKEYACCESS + /* Define if you use NRL OPIE. */ #undef HAVE_OPIE diff --git a/configure.in b/configure.in index 1cb4fad05..32f9ab889 100644 --- a/configure.in +++ b/configure.in @@ -1752,6 +1752,7 @@ if test "$with_skey" = "yes"; then else echo 'Unable to locate libskey.a and/or skey.h, you will have to edit the Makefile and add -L/path/to/skey/lib to SUDO_LDFLAGS and/or -I/path/to/skey.h to CPPFLAGS' fi + AC_CHECK_LIB(skey, skeyaccess, AC_DEFINE(HAVE_SKEYACCESS)) fi dnl