X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=configure.ac;h=086b00c861d484875393a9e18b088cbb58321e2b;hp=cfad704f257112dd14886d6ac9a01236aab116bc;hb=dd12eaefb5879255be78f8233f7e503ffbf7c4f1;hpb=5ebf3a39340696fea0582a58074d22d11247a6e7 diff --git a/configure.ac b/configure.ac index cfad704..086b00c 100644 --- a/configure.ac +++ b/configure.ac @@ -440,7 +440,12 @@ AS_IF([test "x$with_readline" != xno], AC_MSG_FAILURE( [--with-readline was given, but test for readline failed]) fi - ], -lncurses)]) + ], -lncurses) + old_LIBS="$LIBS" + LIBS="$LIBS $LIBREADLINE" + AC_CHECK_FUNCS([append_history completion_matches rl_completion_matches]) + LIBS="$old_LIBS" + ]) dnl For i18n. AM_GNU_GETTEXT([external])