diff options
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" |