use libcrypt before libcrypto
Pekka Savola
pekkas at netcore.fi
Tue Jun 25 15:59:00 EST 2002
On Tue, 25 Jun 2002 itojun at iijlab.net wrote:
> >> +# use libcrypt if there is
> >> +AC_CHECK_LIB(crypt, crypt, LIBS="$LIBS -lcrypt")
> >> +
> >AC_CHECK_LIB(crypt, crypt) will automatically add -lcrypt to $LIBS. It
> >will also define HAVE_LIBCRYPT (is this what you're trying to avoid)?
> >Anyway, I'd prefer:
> > AC_CHECK_FUNCS(crypt, , AC_CHECK_LIB(crypt, crypt))
> >This way we check if crypt is resolvable using the existing $LIBS and,
> >if not, use $LIBS+-lcrypt.
>
> either way is fine for me, as long as crypt() supplied by the
> native system is preferred than openssl crypt(). thanks.
Umm.. could this (possibly) break some of those ancient flawors of Unix
where native crypt is really crappy and OpenSSL crypt is the only real way
to go?
--
Pekka Savola "Tell me of difficulties surmounted,
Netcore Oy not those you stumble over and fall"
Systems. Networks. Security. -- Robert Jordan: A Crown of Swords
More information about the openssh-unix-dev
mailing list