Don't put local paths to .la files in $LIBS, otherwise AC_CHECK_LIB() will break.
Add --with-included-libedit configure-time option.