Do AC_CHECK_LIB([Judy], ...) once.
Make new options clear that they applies to FST only.
Make new options disabled by default to minimize number of deps.
Use AX_PTHREAD.