From 305fb0018a1485a040eac264527b3fd4557a461a Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Fri, 10 Nov 2000 02:41:30 +0000 Subject: 20001110 - (bal) Fixed dropped answer from skey_keyinfo() in auth1.c - (bal) Changed from --with-skey to --with-skey=PATH in configure.in - (bal) Added in check to verify S/Key library is being detected in configure.in - (bal) next-posix.h - added another prototype wrapped in POSIX ifdef/endif. Patch by Mark Miller - (bal) Added 'util.h' header to loginrec.c only if HAVE_UTIL_H is defined to remove warnings under MacOS X. Patch by Mark Miller - (bal) Fixed LDFLAG mispelling in configure.in for --with-afs --- configure.in | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 0c43efcb8..be500da20 100644 --- a/configure.in +++ b/configure.in @@ -1085,7 +1085,7 @@ AC_ARG_WITH(afs, if test "x$withval" != "xyes" ; then CFLAGS="$CFLAGS -I${withval}/include" - LFLAGS="$LFLAGS -L${withval}/lib" + LDFLAGS="$LDFLAGS -L${withval}/lib" fi if test -z "$KRB4" ; then @@ -1106,12 +1106,24 @@ LIBS="$LIBS $KLIBS" # Check whether user wants S/Key support SKEY_MSG="no" AC_ARG_WITH(skey, - [ --with-skey Enable S/Key support], + [ --with-skey=PATH Enable S/Key support], [ if test "x$withval" != "xno" ; then + + if test "x$withval" != "xyes" ; then + CFLAGS="$CFLAGS -I${withval}/include" + LDFLAGS="$LDFLAGS -L${withval}/lib" + fi + AC_DEFINE(SKEY) LIBS="$LIBS -lskey" SKEY_MSG="yes" + + AC_CHECK_FUNC(skey_keyinfo, + [], + [ + AC_MSG_ERROR([** Incomplete or missing s/key libraries.]) + ]) fi ] ) -- cgit v1.2.3