Erlend E. Aasland added the comment:
> I propose to simplify the checks and require a readline 4.2 compatible API.
+1
BTW:
> GNU readline was released in 2001 (20 years ago).
FTR, GNU Readline _4.2_ was released in 2001 ;)
--
___
Python tracker
Erlend E. Aasland added the comment:
FWIW, the XCode SDKs for macOS 11 and 12 use the NetBSD editline library.
$ grep "NetBSD: readline"
/Library/Developer/CommandLineTools/SDKs/MacOSX*.sdk/usr/include/readline/readline.h
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/readli
New submission from Christian Heimes :
The configure.ac code for editline/readline detection is complicated.
Especially the code for linking with extra termcap libraries makes it
complicated to port the check to pkg-config. The termcap checks were added by
Greg in bpo-3645 and commit 18820946