diff options
author | guanglei <guanglei> | 2006-10-10 09:53:54 +0000 |
---|---|---|
committer | guanglei <guanglei> | 2006-10-10 09:53:54 +0000 |
commit | 69e4bcd9d42e828b1d77584947156606289f1e38 (patch) | |
tree | 3602df652d7b518b63bf0ac2c661c7631b213be9 /configure.ac | |
parent | b1f3e1bd060020f36c35d449914955c3f9cd2aba (diff) | |
download | systemtap-steved-69e4bcd9d42e828b1d77584947156606289f1e38.tar.gz systemtap-steved-69e4bcd9d42e828b1d77584947156606289f1e38.tar.xz systemtap-steved-69e4bcd9d42e828b1d77584947156606289f1e38.zip |
* 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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
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" |