mirror of https://gitee.com/bigwinds/arangodb
68 lines
2.7 KiB
Plaintext
68 lines
2.7 KiB
Plaintext
dnl -*- mode: Autoconf; -*-
|
|
|
|
dnl ----------------------------------------------------------------------------
|
|
dnl --SECTION-- READLINE
|
|
dnl ----------------------------------------------------------------------------
|
|
|
|
AC_MSG_NOTICE([--------------------------------------------------------------------------------])
|
|
AC_MSG_NOTICE([CHECKING FOR READLINE])
|
|
AC_MSG_NOTICE([--------------------------------------------------------------------------------])
|
|
|
|
AC_LANG(C)
|
|
|
|
AC_ARG_ENABLE(readline,
|
|
AS_HELP_STRING([--enable-readline], [enable readline support (default: yes)]),
|
|
tr_READLINE="$enableval",
|
|
tr_READLINE="maybe"
|
|
)
|
|
|
|
if test "x$tr_DARWIN" = xyes; then
|
|
if test "x$tr_READLINE" = xyes; then
|
|
tr_READLINE="linenoise"
|
|
elif test "x$tr_READLINE" = xreadline; then
|
|
tr_READLINE="yes"
|
|
fi
|
|
fi
|
|
|
|
AC_ARG_WITH(readline,
|
|
AS_HELP_STRING([--with-readline=DIR], [where the readline library and includes are located]),
|
|
[READLINE_CPPFLAGS="-I$withval/include"
|
|
READLINE_LDFLAGS="-L$withval/lib"
|
|
READLINE="$withval"]
|
|
)
|
|
|
|
AC_ARG_WITH(readline-lib,
|
|
AS_HELP_STRING([--with-readline-lib=DIR], [where the readline library is located]),
|
|
[READLINE_LDFLAGS="-L$withval"]
|
|
)
|
|
|
|
dnl ----------------------------------------------------------------------------
|
|
dnl ----------------------------------------------------------------------------
|
|
|
|
dnl ----------------------------------------------------------------------------
|
|
dnl ----------------------------------------------------------------------------
|
|
|
|
dnl ----------------------------------------------------------------------------
|
|
dnl ----------------------------------------------------------------------------
|
|
|
|
dnl ----------------------------------------------------------------------------
|
|
dnl ----------------------------------------------------------------------------
|
|
|
|
dnl ----------------------------------------------------------------------------
|
|
dnl ----------------------------------------------------------------------------
|
|
|
|
dnl ----------------------------------------------------------------------------
|
|
dnl ----------------------------------------------------------------------------
|
|
|
|
dnl ----------------------------------------------------------------------------
|
|
dnl ----------------------------------------------------------------------------
|
|
|
|
dnl ----------------------------------------------------------------------------
|
|
dnl --SECTION-- END-OF-FILE
|
|
dnl ----------------------------------------------------------------------------
|
|
|
|
dnl Local Variables:
|
|
dnl mode: outline-minor
|
|
dnl outline-regexp: "^\\(dnl --SECTION--\\)"
|
|
dnl End:
|