git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mac OS X: implement readline functions.
[libguestfs.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
cfad704
..
086b00c
100644
(file)
--- 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
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])
dnl For i18n.
AM_GNU_GETTEXT([external])