Hi all!

I recently updated using cvs and recompiled radiusd 0.4 on my freebsd 4.4
(a recent stable). When running radiusd, libc complained about the lack
of the FreeSec functions (setkey(3), des_cipher(3), etc).

I have added this check in configure.in, and it works for me:

dnl Check for libcipher (extends LCRYPT)
AC_CHECK_LIB(cipher, setkey,
  CRYPTLIB="${CRYPTLIB} -lcipher"
)

It relies on the libcrypt check, but IMHO if crypt functions are outside
libc, the cipher functions will be outside too.

-- 
Players win and winners play
Have a lucky day

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to