summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bd1059a..620cb34 100644
--- a/configure.ac
+++ b/configure.ac
@@ -156,6 +156,12 @@ AS_IF([test "x$enable_mysql" != "xno"], [
AC_MSG_RESULT([no])
])
+ AS_IF([test "x$libmysqlclient_LIBS" = "x"], [
+ AS_IF([test "x$enable_mysql" = "xyes"], [
+ AC_MSG_ERROR([libmysqlclient not found])
+ ])
+ ])
+
])
])