On FreeBSD, libedit should be linked in explicitly, because this library

is present in the system, but it is not in the pkg-config database.

Signed-off-by:	Stanislav Sedov <stas@FreeBSD.org>
This commit is contained in:
Stanislav Sedov 2011-10-04 19:03:55 -07:00
parent cb45fbcb61
commit d4340bacfa

View File

@ -242,6 +242,8 @@ AM_CONDITIONAL(WITH_HADOOPCLIENT, [test "$HAVE_JNI" = "1"])
if test x"$freebsd" != x"yes"; then
PKG_CHECK_MODULES([LIBEDIT], [libedit >= 2.11],
[], AC_MSG_FAILURE([No usable version of libedit found.]))
else
LIBEDIT_LIBS="-ledit"
fi
#libatomic-ops? You want it!