mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:43:03 +01:00
A little better behavior when standard editline library requested but not found
This commit is contained in:
parent
3212d7df65
commit
72e5680b4f
13
configure.in
13
configure.in
@ -422,12 +422,13 @@ AC_ARG_WITH(system-editline,
|
||||
READLINE=edit # builtin default
|
||||
saveLIBS=$LIBS
|
||||
if test "$STD_EDITLINE" = "true"; then
|
||||
AC_CHECK_LIB(edit, readline, READLINE=edit,
|
||||
AC_CHECK_LIB(editline, readline, READLINE=editline,
|
||||
AC_CHECK_LIB(readline, readline, READLINE=readline, STD_EDITLINE=false)))
|
||||
fi
|
||||
if test "$STD_EDITLINE" = "true"; then
|
||||
EDITLINE_FLG=Y
|
||||
AC_CHECK_LIB(edit, readline, [READLINE=edit EDITLINE_FLG=Y],
|
||||
AC_CHECK_LIB(editline, readline, [READLINE=editline EDITLINE_FLG=Y],
|
||||
AC_CHECK_LIB(readline, readline, [READLINE=readline EDITLINE_FLG=Y],
|
||||
[STD_EDITLINE=false
|
||||
if test "$EDITLINE_FLG" = "Y"; then
|
||||
AC_MSG_WARN([[[--with-system-editline specified, not found. Using bundled editline]]])])))
|
||||
fi
|
||||
fi
|
||||
LIBS=$saveLIBS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user