pcre2/cmake
Carlo Marcelo Arenas Belón 4279abbd7d
pcre2test: allow using readline headers for libedit (#99)
At least in OpenBSD, there is a libedit library in base, but without
public headers.  Public headers for readline are available but since
15db5d36 (pcre2test: avoid using readline headers with libedit,
2022-04-07) won't be picked up automatically.

Allow pointing cmake to those headers by doing (for example):

  $ cmake -DEDITLINE_INCLUDE_DIR=/usr/include/readline

Or using custom CPPFLAGS with configure (for example):

  $ CPPFLAGS=-I/usr/include/readline ./configure --enable-pcre2test-libedit

Since the headers from readline.h would be otherwise incomplete, detect
that case and pull the extra headers that are required automagically and
while at it, cleanup the NCURSES dependency that was unnecessarily copied
from readline.
2022-04-14 16:51:51 +01:00
..
COPYING-CMAKE-SCRIPTS Basic CMake support is now working, at least on Linux. 2014-08-30 15:41:23 +00:00
FindEditline.cmake pcre2test: allow using readline headers for libedit (#99) 2022-04-14 16:51:51 +01:00
FindPackageHandleStandardArgs.cmake Basic CMake support is now working, at least on Linux. 2014-08-30 15:41:23 +00:00
FindReadline.cmake Basic CMake support is now working, at least on Linux. 2014-08-30 15:41:23 +00:00
pcre2-config-version.cmake.in Apply Jan-Willem Blokland's CMake patches to build both static and shared 2021-07-11 15:15:24 +00:00
pcre2-config.cmake.in Apply Jan-Willem Blokland's CMake patches to build both static and shared 2021-07-11 15:15:24 +00:00