From 69e4bcd9d42e828b1d77584947156606289f1e38 Mon Sep 17 00:00:00 2001 From: guanglei Date: Tue, 10 Oct 2006 09:53:54 +0000 Subject: * runtime/lket/b2a/lket_b2a.c, runtime/lket/b2a/lket_b2a.h: Adding the support of automatically database creation and dumping lket trace into mysql database * configure.ac: add the checking of mysql client library * Makefile.in, configure: regenerated * runtime/lket/b2a/Makefile.am: add the checking and optional compiling for mysql client library * runtime/lket/b2a/Makefile.in: regenerated --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 08a43e77..65b493cd 100644 --- a/configure.ac +++ b/configure.ac @@ -60,12 +60,19 @@ yes) AC_MSG_ERROR([--with-elfutils requires an argument]) ;; esac]) AM_CONDITIONAL(BUILD_ELFUTILS, test $build_elfutils = yes) AM_CONDITIONAL(BUILD_LKET_B2A, pkg-config --atleast-version 2.0.0 glib-2.0) +AM_CONDITIONAL(HAS_MYSQL, which mysql_config > /dev/null 2>&1) if ! pkg-config --atleast-version 2.0.0 glib-2.0; then AC_MSG_WARN([glib2-devel is required to build lket-b2a. no glib2-devel found, skip building lket-b2a...]) fi +if ! which mysql_config > /dev/null 2>&1; then + AC_MSG_WARN([mysqlclient lib is required to build lket-b2a with database support. + no mysqlclient lib is found, skip building lket-b2a with database support...]) +fi + + if test $build_elfutils = no; then # Need libdwfl-capable recent elfutils from Fedora save_LIBS="$LIBS" -- cgit