]> granicus.if.org Git - sudo/commitdiff
Add check for skeyaccess(3)
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 12 Dec 2001 19:43:23 +0000 (19:43 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 12 Dec 2001 19:43:23 +0000 (19:43 +0000)
config.h.in
configure.in

index 2c105e26e1f70549759af5b8ee6e373a967744e7..20f8372f4105fe36dfcce6f4e4df5ca9de72d942 100644 (file)
 /* 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
 
index 1cb4fad05cb91b40bed0b83de6af136f925787bd..32f9ab8898a1d95fa768c1610cb8fe2de0e90bf1 100644 (file)
@@ -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