(I've tried to find documentation and failed.)
I'm building a rc of mosquitto, an mqtt broker. It is written to use readline calls because that's normal. But for licensing reasons, it uses as an implementation editline aka libedit, via the portable version of NetBSD's libedit, described in editline(3). With portable editline, the readline wrapper is accessed by including $prefix/editline/readline.h and then linking with lib/libedit.so. But in NetBSD, one includes /usr/include/readline/readline.h and then links with libedit. Not with libreadline. Programs thus should handle native NetBSD editline's readline compat portable editline's readline compat actual readline questions: - Am I confused? - Is there standard cmake FindReadlineViaEditLine that does this? - Is there some other approach? - Is this really not documented?
