diff options
author | Bastian Germann <bastiangermann@fishpost.de> | 2020-09-26 21:32:55 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2020-09-29 10:13:24 +0200 |
commit | 168e2ffbcd8c8cf20711be36059bfcf999a95012 (patch) | |
tree | 11e8f505fc18344e1a2e45d2534c5164cb73a841 /include | |
parent | fb96e9ab217641ec3a967d9aa2be01fc936ee038 (diff) | |
download | lvm2-168e2ffbcd8c8cf20711be36059bfcf999a95012.tar.gz |
lvm: add readline alternative editline
LVM2 is distributed under GPLv2 only. The readline library changed its
license long ago to GPLv3. Given that those licenses are incompatible
and you follow the FSF in their interpretation that dynamically linking
creates a derivative work, distributing LVM2 linked against a current
readline version might be legally problematic.
Add support for the BSD licensed editline library as an alternative for
readline.
Link: https://thrysoee.dk/editline
Diffstat (limited to 'include')
-rw-r--r-- | include/configure.h.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configure.h.in b/include/configure.h.in index 540cee7cf..46d5aef20 100644 --- a/include/configure.h.in +++ b/include/configure.h.in @@ -126,6 +126,9 @@ /* Library version */ #undef DM_LIB_VERSION +/* Define to 1 to include the LVM editline shell. */ +#undef EDITLINE_SUPPORT + /* Path to fsadm binary. */ #undef FSADM_PATH @@ -176,6 +179,12 @@ /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ #undef HAVE_DOPRNT +/* Define to 1 if you have the <editline/history.h> header file. */ +#undef HAVE_EDITLINE_HISTORY_H + +/* Define to 1 if you have the <editline/readline.h> header file. */ +#undef HAVE_EDITLINE_READLINE_H + /* Define to 1 if you have the <errno.h> header file. */ #undef HAVE_ERRNO_H |