summaryrefslogtreecommitdiff
path: root/srclib/apr-util/dbd/NWGNUdbdmysql
diff options
context:
space:
mode:
Diffstat (limited to 'srclib/apr-util/dbd/NWGNUdbdmysql')
-rw-r--r--srclib/apr-util/dbd/NWGNUdbdmysql3
1 files changed, 3 insertions, 0 deletions
diff --git a/srclib/apr-util/dbd/NWGNUdbdmysql b/srclib/apr-util/dbd/NWGNUdbdmysql
index 151eb953..e6ea9b5b 100644
--- a/srclib/apr-util/dbd/NWGNUdbdmysql
+++ b/srclib/apr-util/dbd/NWGNUdbdmysql
@@ -30,6 +30,9 @@ MYSQL_INC = $(MYSQLSDK)/include
MYSQL_IMP = $(MYSQLSDK)/lib/libmysql.imp
MYSQL_LIB = $(MYSQLSDK)/lib/libmysqlclient_r.lib $(MYSQLSDK)/lib/libz.lib
MYSQL_NLM = libmysql
+ifneq "$(wildcard $(MYSQL_INC)/mysql.h)" "$(MYSQL_INC)/mysql.h"
+$(error MYSQLSDK does not point to a valid MySQL SDK)
+endif
#
# These directories will be at the beginning of the include list, followed by