From 219c07ed2750221a24ec718cd06279f37f57bbda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Wed, 9 Jul 2014 12:29:25 -0500 Subject: [PATCH] Fixas myddas on the mysql/no odbc configurations --- packages/myddas/configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/myddas/configure.in b/packages/myddas/configure.in index 7f7b3494d..4a044ef1c 100644 --- a/packages/myddas/configure.in +++ b/packages/myddas/configure.in @@ -61,7 +61,9 @@ then ODBC_LIBS="$ODBC_LIBS -liodbc" fi fi - AC_CHECK_HEADERS(mysql/mysql.h, [yap_cv_odbc="yes"], [yap_cv_odbc="no"]) + #from SWI ODBC library. + AC_CHECK_HEADERS(windef.h) + AC_CHECK_HEADERS(sql.h, [yap_cv_odbc="yes"], [yap_cv_odbc="no"]) if test "$yap_cv_odbc" = yes then YAP_EXTRAS="$YAP_EXTRAS -DMYDDAS_ODBC"