Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
376117eb
Commit
376117eb
authored
May 04, 2006
by
serg@sergbook.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto-include plug.in, remove the need for plugins to modify configure.in
parent
17b46953
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
13 deletions
+31
-13
config/ac-macros/plugins.m4
config/ac-macros/plugins.m4
+21
-1
configure.in
configure.in
+0
-12
storage/archive/plug.in
storage/archive/plug.in
+5
-0
storage/example/plug.in
storage/example/plug.in
+5
-0
No files found.
config/ac-macros/plugins.m4
View file @
376117eb
...
@@ -249,7 +249,6 @@ AC_DEFUN([MYSQL_PLUGIN_ACTIONS],[
...
@@ -249,7 +249,6 @@ AC_DEFUN([MYSQL_PLUGIN_ACTIONS],[
])
])
])
])
dnl ---------------------------------------------------------------------------
dnl ---------------------------------------------------------------------------
dnl Macro: MYSQL_CONFIGURE_PLUGINS
dnl Macro: MYSQL_CONFIGURE_PLUGINS
dnl
dnl
...
@@ -267,6 +266,10 @@ AC_DEFUN([MYSQL_CONFIGURE_PLUGINS],[
...
@@ -267,6 +266,10 @@ AC_DEFUN([MYSQL_CONFIGURE_PLUGINS],[
AC_FATAL([cannot use [MYSQL_CONFIGURE_PLUGINS] multiple times])
AC_FATAL([cannot use [MYSQL_CONFIGURE_PLUGINS] multiple times])
],[
],[
m4_define([__mysql_plugin_configured__],[done])
m4_define([__mysql_plugin_configured__],[done])
_MYSQL_INCLUDE_LIST(
m4_bpatsubst(m4_esyscmd([ls plugin/*/plug.in storage/*/plug.in 2>/dev/null]),
[[
]],[,]))
m4_ifdef([__mysql_plugin_list__],[
m4_ifdef([__mysql_plugin_list__],[
_MYSQL_CHECK_PLUGIN_ARGS([$1])
_MYSQL_CHECK_PLUGIN_ARGS([$1])
_MYSQL_CONFIGURE_PLUGINS(m4_bpatsubst(__mysql_plugin_list__, :, [,]))
_MYSQL_CONFIGURE_PLUGINS(m4_bpatsubst(__mysql_plugin_list__, :, [,]))
...
@@ -730,4 +733,21 @@ _MYSQL_EMIT_PLUGINS(m4_bpatsubst(__mysql_plugin_list__, :, [,]))
...
@@ -730,4 +733,21 @@ _MYSQL_EMIT_PLUGINS(m4_bpatsubst(__mysql_plugin_list__, :, [,]))
_MYSQL_EMIT_PLUGIN_DEPENDS(m4_bpatsubst(__mysql_plugin_list__, :, [,]))
_MYSQL_EMIT_PLUGIN_DEPENDS(m4_bpatsubst(__mysql_plugin_list__, :, [,]))
])
])
dnl ---------------------------------------------------------------------------
dnl Macro: _MYSQL_INCLUDE_LIST
dnl
dnl SYNOPSIS
dnl _MYSQL_INCLUDE_LIST([filename,filename...])
dnl
dnl DESCRIPTION
dnl includes all files from the list
dnl
dnl ---------------------------------------------------------------------------
AC_DEFUN([_MYSQL_INCLUDE_LIST],[
ifelse([$1], [], [], [
sinclude($1)
_MYSQL_INCLUDE_LIST(m4_shift($@))
])
])
dnl ===========================================================================
dnl ===========================================================================
configure.in
View file @
376117eb
...
@@ -52,12 +52,6 @@ romanian russian serbian slovak spanish swedish ukrainian"
...
@@ -52,12 +52,6 @@ romanian russian serbian slovak spanish swedish ukrainian"
# Declare our plugin modules
# Declare our plugin modules
#--------------------------------------------------------------------
#--------------------------------------------------------------------
MYSQL_STORAGE_ENGINE
(
archive,,
[
Archive Storage Engine],
[
Archive Storage Engine],
[
max,max-no-ndb]
)
MYSQL_PLUGIN_DIRECTORY
(
archive,
[
storage/archive]
)
MYSQL_PLUGIN_STATIC
(
archive,
[
libarchive.a]
)
MYSQL_PLUGIN_DYNAMIC
(
archive,
[
ha_archive.la]
)
MYSQL_STORAGE_ENGINE
(
berkeley, berkeley-db,
[
BerkeleyDB Storage Engine],
MYSQL_STORAGE_ENGINE
(
berkeley, berkeley-db,
[
BerkeleyDB Storage Engine],
[
Transactional Tables using BerkeleyDB],
[
max,max-no-ndb]
)
[
Transactional Tables using BerkeleyDB],
[
max,max-no-ndb]
)
MYSQL_PLUGIN_DIRECTORY
(
berkeley,[storage/bdb]
)
MYSQL_PLUGIN_DIRECTORY
(
berkeley,[storage/bdb]
)
...
@@ -76,12 +70,6 @@ MYSQL_PLUGIN_DIRECTORY(csv, [storage/csv])
...
@@ -76,12 +70,6 @@ MYSQL_PLUGIN_DIRECTORY(csv, [storage/csv])
MYSQL_PLUGIN_STATIC
(
csv,
[
libcsv.a]
)
MYSQL_PLUGIN_STATIC
(
csv,
[
libcsv.a]
)
MYSQL_PLUGIN_MANDATORY
(
csv
)
dnl Used
for
logging
MYSQL_PLUGIN_MANDATORY
(
csv
)
dnl Used
for
logging
MYSQL_STORAGE_ENGINE
(
example,,
[
Example Storage Engine],
[
Skeleton
for
Storage Engines
for
developers],
[
max,max-no-ndb]
)
MYSQL_PLUGIN_DIRECTORY
(
example,
[
storage/example]
)
MYSQL_PLUGIN_STATIC
(
example,
[
libexample.a]
)
MYSQL_PLUGIN_DYNAMIC
(
example,
[
ha_example.la]
)
MYSQL_STORAGE_ENGINE
(
federated,,[Federated Storage Engine],
MYSQL_STORAGE_ENGINE
(
federated,,[Federated Storage Engine],
[
Connects to tables on remote MySQL servers],
[
max,max-no-ndb]
)
[
Connects to tables on remote MySQL servers],
[
max,max-no-ndb]
)
...
...
storage/archive/plug.in
0 → 100644
View file @
376117eb
MYSQL_STORAGE_ENGINE(archive,, [Archive Storage Engine],
[Archive Storage Engine], [max,max-no-ndb])
MYSQL_PLUGIN_DIRECTORY(archive, [storage/archive])
MYSQL_PLUGIN_STATIC(archive, [libarchive.a])
MYSQL_PLUGIN_DYNAMIC(archive, [ha_archive.la])
storage/example/plug.in
0 → 100644
View file @
376117eb
MYSQL_STORAGE_ENGINE(example,, [Example Storage Engine],
[Skeleton for Storage Engines for developers], [max,max-no-ndb])
MYSQL_PLUGIN_DIRECTORY(example, [storage/example])
MYSQL_PLUGIN_STATIC(example, [libexample.a])
MYSQL_PLUGIN_DYNAMIC(example, [ha_example.la])
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment