Commit 4681c066 authored by unknown's avatar unknown

libmysqld/Makefile.am fixed


config/ac-macros/plugins.m4:
  code moved to the proper place
libmysqld/Makefile.am:
  "" removed
parent c475d9e3
...@@ -373,11 +373,6 @@ AC_DEFUN([__MYSQL_EMIT_CHECK_PLUGIN],[ ...@@ -373,11 +373,6 @@ AC_DEFUN([__MYSQL_EMIT_CHECK_PLUGIN],[
]) ])
AC_SUBST([plugin_]$2[_shared_target], "$8") AC_SUBST([plugin_]$2[_shared_target], "$8")
AC_SUBST([plugin_]$2[_static_target], [""]) AC_SUBST([plugin_]$2[_static_target], [""])
m4_ifdef([$11],[
condition_dependent_plugin_modules="$condition_dependent_plugin_modules m4_bregexp($11, [[^/]+$], [\&])"
condition_dependent_plugin_links="$condition_dependent_plugin_links $6/$11"
condition_dependent_plugin_includes="$condition_dependent_plugin_includes -I[\$(top_srcdir)]/$6/m4_bregexp($11, [^.+[/$]], [\&])"
])
[with_plugin_]$2=yes [with_plugin_]$2=yes
AC_MSG_RESULT([plugin]) AC_MSG_RESULT([plugin])
m4_ifdef([$6],[ m4_ifdef([$6],[
...@@ -434,6 +429,11 @@ dnl Although this is "pretty", it breaks libmysqld build ...@@ -434,6 +429,11 @@ dnl Although this is "pretty", it breaks libmysqld build
mysql_plugin_defs="$mysql_plugin_defs, [builtin_]$2[_plugin]" mysql_plugin_defs="$mysql_plugin_defs, [builtin_]$2[_plugin]"
[with_plugin_]$2=yes [with_plugin_]$2=yes
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
m4_ifdef([$11],[
condition_dependent_plugin_modules="$condition_dependent_plugin_modules m4_bregexp($11, [[^/]+$], [\&])"
condition_dependent_plugin_links="$condition_dependent_plugin_links $6/$11"
condition_dependent_plugin_includes="$condition_dependent_plugin_includes -I[\$(top_srcdir)]/$6/m4_bregexp($11, [^.+[/$]], [\&])"
])
fi fi
m4_ifdef([$6],[ m4_ifdef([$6],[
if test -n "$mysql_use_plugin_dir" ; then if test -n "$mysql_use_plugin_dir" ; then
......
...@@ -158,11 +158,11 @@ endif ...@@ -158,11 +158,11 @@ endif
# This is called from the toplevel makefile # This is called from the toplevel makefile
link_sources: link_sources:
set -x; \ set -x; \
for f in "$(sqlsources)"; do \ for f in $(sqlsources); do \
rm -f $$f; \ rm -f $$f; \
@LN_CP_F@ $(top_srcdir)/sql/$$f $$f; \ @LN_CP_F@ $(top_srcdir)/sql/$$f $$f; \
done; \ done; \
for f in "$(libmysqlsources)"; do \ for f in $(libmysqlsources); do \
rm -f $$f; \ rm -f $$f; \
@LN_CP_F@ $(top_srcdir)/libmysql/$$f $$f; \ @LN_CP_F@ $(top_srcdir)/libmysql/$$f $$f; \
done; \ done; \
...@@ -176,7 +176,7 @@ link_sources: ...@@ -176,7 +176,7 @@ link_sources:
if test -n "$(storagesources)" ; \ if test -n "$(storagesources)" ; \
then \ then \
rm -f $(storagesources); \ rm -f $(storagesources); \
for f in "$(storagesourceslinks)"; do \ for f in $(storagesourceslinks); do \
@LN_CP_F@ $(top_srcdir)/$$f . ; \ @LN_CP_F@ $(top_srcdir)/$$f . ; \
done; \ done; \
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