[misc] Search for the crypt symbol to conditionally enable crypt in VTY

It will define -DVTY_CRYPT_PW= if crypt is found. If -lcrypt is
needed, $(LIB_CRYPT) will be -lcrypt.

Compiles on OS X and Linux and reenables crypt.

Patch by: Lars Immisch
1 file changed
tree: 05b9654b5d92db19be74d48b463b6151e2999a16
  1. doc/
  2. tests/
  3. tools/
  4. AUTHORS
  5. configure.in
  6. COPYING
  7. Makefile.am
  8. README