Merge branch 'master' into int-new
This commit is contained in:
commit
9bd8cb7c3c
1 changed files with 1 additions and 7 deletions
|
@ -366,12 +366,6 @@ if test "$enable_client" = yes ; then
|
||||||
[$TINFO_LIBS]
|
[$TINFO_LIBS]
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_SEARCH_LIBS([add_history], [history readline],
|
|
||||||
[HISTORY_LIBS="$LIBS"; LIBS=""],
|
|
||||||
[AC_MSG_ERROR([The client requires GNU Readline library. Either install the library or use --disable-client to compile without the client.])],
|
|
||||||
[$TINFO_LIBS]
|
|
||||||
)
|
|
||||||
|
|
||||||
AC_CHECK_LIB([readline], [rl_crlf],
|
AC_CHECK_LIB([readline], [rl_crlf],
|
||||||
[AC_DEFINE([HAVE_RL_CRLF], [1], [Define to 1 if you have rl_crlf()])],
|
[AC_DEFINE([HAVE_RL_CRLF], [1], [Define to 1 if you have rl_crlf()])],
|
||||||
[],
|
[],
|
||||||
|
@ -385,7 +379,7 @@ if test "$enable_client" = yes ; then
|
||||||
)
|
)
|
||||||
|
|
||||||
LIBS="$BASE_LIBS"
|
LIBS="$BASE_LIBS"
|
||||||
CLIENT_LIBS="$HISTORY_LIBS $READLINE_LIBS $TINFO_LIBS"
|
CLIENT_LIBS="$READLINE_LIBS $TINFO_LIBS"
|
||||||
fi
|
fi
|
||||||
AC_SUBST([CLIENT])
|
AC_SUBST([CLIENT])
|
||||||
AC_SUBST([CLIENT_LIBS])
|
AC_SUBST([CLIENT_LIBS])
|
||||||
|
|
Loading…
Reference in a new issue