configure.in:
Corrected default for --disable-grant-options
This commit is contained in:
parent
bac65ee90a
commit
ba7b6e86f2
10
configure.in
10
configure.in
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user