mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1
into deer.(none):/home/hf/work/mysql-4.1.ftr
This commit is contained in:
commit
3a5e8d58cc
2 changed files with 29 additions and 2 deletions
25
configure.in
25
configure.in
|
@ -2133,6 +2133,31 @@ then
|
|||
AC_DEFINE(HAVE_QUERY_CACHE)
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(geometry,
|
||||
[ --without-geometry Do not build geometry-related parts.],
|
||||
[with_geometry=$withval],
|
||||
[with_geometry=yes]
|
||||
)
|
||||
|
||||
if test "$with_geometry" = "yes"
|
||||
then
|
||||
AC_DEFINE(HAVE_SPATIAL)
|
||||
AC_DEFINE(HAVE_RTREE_KEYS)
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(embedded_privilege_control,
|
||||
[ --with-embedded-privilege-control
|
||||
Build parts to check user's privileges.
|
||||
Only affects embedded library.],
|
||||
[with_embedded_privilege_control=$withval],
|
||||
[with_embedded_privilege_control=no]
|
||||
)
|
||||
|
||||
if test "$with_embedded_privilege_control" = "yes"
|
||||
then
|
||||
AC_DEFINE(HAVE_EMBEDDED_PRIVILEGE_CONTROL)
|
||||
fi
|
||||
|
||||
AC_ARG_WITH(extra-tools,
|
||||
[ --without-extra-tools Skip building utilites in the tools directory.],
|
||||
[with_tools=$withval],
|
||||
|
|
|
@ -1196,6 +1196,8 @@ do { doubleget_union _tmp; \
|
|||
#define MYSQL_UNIVERSAL_CLIENT_CHARSET MYSQL_DEFAULT_CHARSET_NAME
|
||||
#endif
|
||||
|
||||
#define HAVE_SPATIAL
|
||||
#define HAVE_RTREE_KEYS
|
||||
#if defined(EMBEDDED_LIBRARY) && !defined(HAVE_EMBEDDED_PRIVILEGE_CONTROL)
|
||||
#define NO_EMBEDDED_ACCESS_CHECKS
|
||||
#endif
|
||||
|
||||
#endif /* my_global_h */
|
||||
|
|
Loading…
Add table
Reference in a new issue