Commit a4817ace authored by unknown's avatar unknown
Browse files

configure.in:

  Corrected default for --disable-grant-options


configure.in:
  Corrected default for --disable-grant-options
parent c2e9a4af
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -713,19 +713,19 @@ else
  AC_MSG_RESULT([no])
fi

# If we should allow init-file and skip-grant-table options
AC_MSG_CHECKING(If we should should enable 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, skip-grant-table options and bootstrap)
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=no ]
    [ mysql_grant_options_enabled=yes ]
    )
if test "$mysql_grant_options_enabled" = "yes"
then
  AC_MSG_RESULT([yes])
else
  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])
fi