configure.in:

  Corrected default for --disable-grant-options
parent bac65ee9
...@@ -713,19 +713,19 @@ else ...@@ -713,19 +713,19 @@ else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
fi fi
# If we should allow init-file and skip-grant-table options # If we should allow init-file, skip-grant-table and bootstrap options
AC_MSG_CHECKING(If we should should enable init-file and skip-grant-table options) AC_MSG_CHECKING(If we should should enable init-file, skip-grant-table options and bootstrap)
AC_ARG_ENABLE(grant-options, AC_ARG_ENABLE(grant-options,
[ --disable-grant-options Disables the use of --init-file and --skip-grant-tables options], [ --disable-grant-options Disables the use of --init-file, --skip-grant-tables and --bootstrap options],
[ mysql_grant_options_enabled=$enableval ], [ mysql_grant_options_enabled=$enableval ],
[ mysql_grant_options_enabled=no ] [ mysql_grant_options_enabled=yes ]
) )
if test "$mysql_grant_options_enabled" = "yes" if test "$mysql_grant_options_enabled" = "yes"
then then
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
else else
AC_DEFINE([DISABLE_GRANT_OPTIONS], [1], AC_DEFINE([DISABLE_GRANT_OPTIONS], [1],
[Disables the use of --init-file and --skip-grant-tables options]) [Disables the use of --init-file, --skip-grant-tables and --bootstrap options])
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment