FindLibeditΒΆ

Try to find NetBSD Editline library (libedit), a Berkeley-style licensed command line editor library provides generic line editing, history, and tokenization functions, similar to those found in GNU Readline. Once done this will define the following variables:

Libedit_FOUND         - System has Editline library
Libedit_INCLUDE_DIRS  - Editline library include directory
Libedit_LIBRARIES     - Editline library libraries
Libedit_DEFINITIONS   - Additional compiler flags for Editline library
Libedit_VERSION       - Editline library version
Libedit_MAJOR_VERSION - Editline library major version
Libedit_MINOR_VERSION - Editline library minor version

Environment variables used to locate the Editline library:

READLINE_DIR - Libedit root directory

Cached variables used to locate the NetBSD Editline library:

Libedit_INCLUDE_DIR - the Libedit include directory
Libedit_LIBRARY_RELEASE - NetBSD Editline library (release)
Libedit_LIBRARY_DEBUG - NetBSD Editline library  (debug)