aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2018-01-02 14:11:59 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2018-01-02 14:11:59 +0100
commitcce6ba4daa2e00d6e1881a831d05cdc51249b4a7 (patch)
tree2ad333b7731fbbd34e1684ad96366e2b4e7fa2dc /configure.ac
parent8396094156c2ddae279ec9c265100e28acb65a8d (diff)
downloadbird-cce6ba4daa2e00d6e1881a831d05cdc51249b4a7.tar.gz
Remove libhistory check
According to GNU Readline developers, if we link with libreadline then there is no need to link with libhistory at all.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 1 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index 91f89edf..d135dc04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -361,12 +361,6 @@ if test "$enable_client" = yes ; then
[$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_DEFINE([HAVE_RL_CRLF], [1], [Define to 1 if you have rl_crlf()])],
[],
@@ -380,7 +374,7 @@ if test "$enable_client" = yes ; then
)
LIBS="$BASE_LIBS"
- CLIENT_LIBS="$HISTORY_LIBS $READLINE_LIBS $TINFO_LIBS"
+ CLIENT_LIBS="$READLINE_LIBS $TINFO_LIBS"
fi
AC_SUBST([CLIENT])
AC_SUBST([CLIENT_LIBS])