Check for rl_completion_matches being present.
Showing
1 changed file
with
6 additions
and
2 deletions
... | @@ -275,8 +275,12 @@ AC_SUBST(READLINE_LIBS) | ... | @@ -275,8 +275,12 @@ AC_SUBST(READLINE_LIBS) |
275 | if test x"$usereadline" = x"yes"; then | 275 | if test x"$usereadline" = x"yes"; then |
276 | AC_CHECK_LIB(readline, readline, | 276 | AC_CHECK_LIB(readline, readline, |
277 | [AC_CHECK_HEADERS(readline/readline.h, | 277 | [AC_CHECK_HEADERS(readline/readline.h, |
278 | AC_DEFINE(WITH_READLINE)) | 278 | AC_DEFINE(WITH_READLINE)) |
279 | READLINE_LIBS="-lcurses -lreadline"], | 279 | READLINE_LIBS="-lcurses -lreadline" |
280 | saved_LIBS=$LIBS | ||
281 | LIBS="$LIBS $READLINE_LIBS" | ||
282 | AC_CHECK_FUNCS(rl_completion_matches) | ||
283 | LIBS=$saved_LIBS], | ||
280 | :, | 284 | :, |
281 | -lcurses) | 285 | -lcurses) |
282 | fi | 286 | fi | ... | ... |
-
Please register or sign in to post a comment