Fixes BerkeleyDB support.

This commit is contained in:
Sears Russell 2006-11-11 00:39:41 +00:00
parent 75b0de74cd
commit 6ba05cd619

View file

@ -144,6 +144,8 @@ AC_ARG_ENABLE([benchmarks],
AC_CONFIG_DB AC_CONFIG_DB
AM_CONDITIONAL(DB_ENABLED, test $DB_ENABLED = 1)
if test x$build_benchmarks = xyes ; then if test x$build_benchmarks = xyes ; then
if test $DB_ENABLED = 0; then if test $DB_ENABLED = 0; then
AC_MSG_WARN([Could not find Berkeley DB; some benchmarks will not be built]) AC_MSG_WARN([Could not find Berkeley DB; some benchmarks will not be built])
@ -153,6 +155,7 @@ else
AM_CONDITIONAL(BUILD_BENCHMARKS, false) AM_CONDITIONAL(BUILD_BENCHMARKS, false)
fi fi
AC_CHECK_LIB([intl], [bindtextdomain]) AC_CHECK_LIB([intl], [bindtextdomain])
AC_CHECK_LIB([c], [bindtextdomain]) AC_CHECK_LIB([c], [bindtextdomain])