2023-08-16 22:26:55 +00:00
|
|
|
readline -> ereadline
|
|
|
|
|
|
|
|
Index: configure
|
|
|
|
--- configure.orig
|
|
|
|
+++ configure
|
2023-09-14 00:49:35 +00:00
|
|
|
@@ -11738,7 +11738,7 @@ fi
|
2023-08-16 22:26:55 +00:00
|
|
|
if test -d $with_readline/lib; then
|
|
|
|
LDFLAGS="$LDFLAGS -L$with_readline/lib"
|
|
|
|
fi
|
|
|
|
- if test ! -d $with_readline/include/readline; then
|
|
|
|
+ if test ! -d $with_readline/include/ereadline; then
|
|
|
|
if test -d $with_readline/include/editline; then
|
2023-09-14 00:49:35 +00:00
|
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $with_readline contains libedit, not readline!" >&5
|
|
|
|
printf "%s\n" "$as_me: WARNING: $with_readline contains libedit, not readline!" >&2;}
|
|
|
|
@@ -11830,7 +11830,7 @@ then :
|
|
|
|
printf %s "(cached) " >&6
|
|
|
|
else $as_nop
|
2023-08-16 22:26:55 +00:00
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
-LIBS="-lreadline ${gp_tcap} $LIBS"
|
|
|
|
+LIBS="-lereadline ${gp_tcap} $LIBS"
|
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
2023-09-14 00:49:35 +00:00
|
|
|
@@ -11860,7 +11860,7 @@ fi
|
|
|
|
printf "%s\n" "$ac_cv_lib_readline_remove_history" >&6; }
|
|
|
|
if test "x$ac_cv_lib_readline_remove_history" = xyes
|
|
|
|
then :
|
2023-08-16 22:26:55 +00:00
|
|
|
- TERMLIBS="-lreadline $gp_tcap $TERMLIBS"
|
|
|
|
+ TERMLIBS="-lereadline $gp_tcap $TERMLIBS"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if test "$ac_cv_lib_readline_remove_history" = no; then
|
2023-09-14 00:49:35 +00:00
|
|
|
@@ -11901,7 +11901,7 @@ fi
|
|
|
|
printf "%s\n" "$ac_cv_lib_history_remove_history" >&6; }
|
|
|
|
if test "x$ac_cv_lib_history_remove_history" = xyes
|
|
|
|
then :
|
2023-08-16 22:26:55 +00:00
|
|
|
- TERMLIBS="-lreadline -lhistory $gp_tcap $TERMLIBS"
|
|
|
|
+ TERMLIBS="-lereadline -lhistory $gp_tcap $TERMLIBS"
|
2023-09-14 00:49:35 +00:00
|
|
|
else $as_nop
|
|
|
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: GNU readline not found - falling back to builtin readline" >&5
|
|
|
|
printf "%s\n" "$as_me: WARNING: GNU readline not found - falling back to builtin readline" >&2;}
|