Steve Povilaitis wrote:
> conftest.c:34: error: invalid conversion from `int' to
> `mysql_enum_shutdown_level'
That's bizarre.
Please apply the following patch, then say "./bootstrap". It should
detect the shutdown parameter now.
--- config/mysql_shutdown.m4 (revision 1059)
+++ config/mysql_shutdown.m4 (working copy)
@@ -11,7 +11,7 @@
[
AC_TRY_LINK(
[ #include <mysql.h> ],
- [ mysql_shutdown(0, 0); ],
+ [ mysql_shutdown(0, SHUTDOWN_DEFAULT); ],
ac_cv_mysql_shutdown_arg=yes,
ac_cv_mysql_shutdown_arg=no)
])
Let me know whether it works or not. If it does, I'll push the change
into the next release.