mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add configure probe for rl_variable_bind().
Some exceedingly ancient readline libraries lack this function, causing
commit 3d858af07
to fail. Per buildfarm (via Michael Paquier).
Discussion: https://postgr.es/m/E1msTLm-0007Cm-Ri@gemulon.postgresql.org
This commit is contained in:
10
configure.ac
10
configure.ac
@ -2001,8 +2001,14 @@ LIBS="$LIBS_including_readline"
|
||||
|
||||
if test "$with_readline" = yes; then
|
||||
PGAC_READLINE_VARIABLES
|
||||
AC_CHECK_FUNCS([rl_completion_matches rl_filename_completion_function rl_reset_screen_size])
|
||||
AC_CHECK_FUNCS([append_history history_truncate_file])
|
||||
AC_CHECK_FUNCS(m4_normalize([
|
||||
append_history
|
||||
history_truncate_file
|
||||
rl_completion_matches
|
||||
rl_filename_completion_function
|
||||
rl_reset_screen_size
|
||||
rl_variable_bind
|
||||
]))
|
||||
fi
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user