From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RRVVy-0002kl-TK for garchives@archives.gentoo.org; Fri, 18 Nov 2011 20:58:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 764B221C039; Fri, 18 Nov 2011 20:58:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DFAE621C039 for ; Fri, 18 Nov 2011 20:58:18 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DEE841B400E for ; Fri, 18 Nov 2011 20:58:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 21EBF80042 for ; Fri, 18 Nov 2011 20:58:17 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <6ab170bf92605919703b112734cc1bbc1215ef33.robbat2@gentoo> Subject: [gentoo-commits] proj/mysql-extras:master commit in: / X-VCS-Repository: proj/mysql-extras X-VCS-Files: 00000_index.txt 02040_all_embedded-library-shared-5.1.60.patch X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 6ab170bf92605919703b112734cc1bbc1215ef33 Date: Fri, 18 Nov 2011 20:58:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: c65da115-790f-424a-bb40-e662f81ec210 X-Archives-Hash: a758b043e4150188f4c9a285ffda1ca0 commit: 6ab170bf92605919703b112734cc1bbc1215ef33 Author: Robin H. Johnson orbis-terrarum net> AuthorDate: Fri Nov 18 20:58:03 2011 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Fri Nov 18 20:58:09 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/mysql-extras.= git;a=3Dcommit;h=3D6ab170bf Respin 02040_all_embedded-library-shared-5.1.50.patch for 5.1.60 by editi= ng it directly. --- 00000_index.txt | 7 +- 02040_all_embedded-library-shared-5.1.60.patch | 2298 ++++++++++++++++++= ++++++ 2 files changed, 2304 insertions(+), 1 deletions(-) diff --git a/00000_index.txt b/00000_index.txt index a0b07a8..2577963 100644 --- a/00000_index.txt +++ b/00000_index.txt @@ -291,7 +291,12 @@ @@ Take libmysqld to be a proper shared library. =20 @patch 02040_all_embedded-library-shared-5.1.50.patch -@ver 5.01.50.00 to 5.01.99.99 +@ver 5.01.50.00 to 5.01.59.99 +@pn mysql +@@ Take libmysqld to be a proper shared library. + +@patch 02040_all_embedded-library-shared-5.1.60.patch +@ver 5.01.60.00 to 5.01.99.99 @pn mysql @@ Take libmysqld to be a proper shared library. =20 diff --git a/02040_all_embedded-library-shared-5.1.60.patch b/02040_all_e= mbedded-library-shared-5.1.60.patch new file mode 100644 index 0000000..4bff5b6 --- /dev/null +++ b/02040_all_embedded-library-shared-5.1.60.patch @@ -0,0 +1,2298 @@ +Convert all of the static libraries for the embedded libmysqld to build = as +shared. + +This enables amarok's mysql extension to properly build as a shared obje= ct, +without statically including libmysqld or nor forcing libmysqld to be bu= ilt +with -fPIC. + +Thanks to for the @plt fixes. +Thanks to Diego Elio Petten=C3=B2 for all the ext= ensive build +system help with libtool conversions. +Thanks to Maciej Mrozowski for working in the redo= of the +patch for mysql-5.1. + +Gentoo-Bug: 238487 +Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=3D238487 +MySQL-Bug-URL: http://bugs.mysql.com/bug.php?id=3D39288 +MySQL-Bug: 39288 +MySQL-Lists-URL: http://lists.mysql.com/internals/35947 +X-Patch-URL: http://bugs.gentoo.org/attachment.cgi?id=3D188019&action=3D= view +Signed-off-by: Jorge Manuel B. S. Vicetto +Signed-off-by: Robin H. Johnson +Signed-off-by: Kristian Nielsen + +=3D=3D=3D modified file 'client/Makefile.am' +--- + client/Makefile.am | 11 - + config/ac-macros/plugins.m4 | 107 ++++++++----- + configure.in | 8 - + dbug/Makefile.am | 6=20 + extra/Makefile.am | 4=20 + libmysqld/Makefile.am | 184 ++++++++-------= -------- + libmysqld/examples/Makefile.am | 10 - + mysys/Makefile.am | 42 ++--- + netware/BUILD/compile-linux-tools | 16 +- + netware/Makefile.am | 4=20 + regex/Makefile.am | 6=20 + server-tools/instance-manager/Makefile.am | 8 - + sql/Makefile.am | 12 - + storage/archive/Makefile.am | 23 +- + storage/archive/plug.in | 2=20 + storage/blackhole/Makefile.am | 11 - + storage/blackhole/plug.in | 2=20 + storage/csv/Makefile.am | 9 - + storage/csv/plug.in | 2=20 + storage/example/Makefile.am | 11 - + storage/federated/Makefile.am | 15 + + storage/federated/plug.in | 3=20 + storage/heap/Makefile.am | 37 +++- + storage/heap/plug.in | 3=20 + storage/innobase/Makefile.am | 40 ++--- + storage/innobase/plug.in | 2=20 + storage/innodb_plugin/Makefile.am | 13 - + storage/myisam/Makefile.am | 118 ++++++++------ + storage/myisam/plug.in | 4=20 + storage/myisammrg/Makefile.am | 20 ++ + storage/myisammrg/plug.in | 3=20 + storage/ndb/config/type_ndbapitest.mk.am | 31 ++- + storage/ndb/config/type_ndbapitools.mk.am | 33 ++-- + storage/ndb/config/win-libraries | 2=20 + storage/ndb/src/common/util/Makefile.am | 6=20 + storage/ndb/src/cw/cpcd/Makefile.am | 6=20 + storage/ndb/src/kernel/Makefile.am | 7=20 + storage/ndb/src/kernel/blocks/Makefile.am | 10 - + storage/ndb/src/kernel/blocks/backup/Makefile.am | 6=20 + storage/ndb/src/kernel/blocks/dbdict/Makefile.am | 12 - + storage/ndb/src/kernel/blocks/dbdih/Makefile.am | 6=20 + storage/ndb/src/kernel/blocks/dblqh/Makefile.am | 6=20 + storage/ndb/src/kernel/blocks/dbtup/Makefile.am | 6=20 + storage/ndb/src/kernel/vm/Makefile.am | 82 +++++----- + storage/ndb/src/mgmclient/Makefile.am | 65 ++++---- + storage/ndb/src/mgmsrv/Makefile.am | 70 ++++---- + storage/ndb/src/ndbapi/Makefile.am | 98 ++++++------ + storage/ndb/test/run-test/Makefile.am | 6=20 + strings/Makefile.am | 16 +- + unittest/mysys/Makefile.am | 15 + + unittest/strings/Makefile.am | 9 - + unittest/unit.pl | 2=20 + vio/Makefile.am | 4=20 + 53 files changed, 622 insertions(+), 612 deletions(-) + +Index: client/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- client/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ client/Makefile.am 2010-11-27 15:02:49.000000000 +0100 +@@ -75,7 +75,8 @@ mysqlimport_CFLAGS=3D -DTHREAD -UUNDEF_TH + mysqlimport_LDADD =3D $(CXXLDFLAGS) $(CLIENT_THREAD_LIBS) \ + @CLIENT_EXTRA_LDFLAGS@ \ + $(LIBMYSQLCLIENT_LA) \ +- $(top_builddir)/mysys/libmysys.a ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la +=20 + mysqlshow_SOURCES=3D mysqlshow.c +=20 +@@ -84,15 +85,17 @@ mysqlslap_CFLAGS=3D -DTHREAD -UMYSQL_CLIE + mysqlslap_LDADD =3D $(CXXLDFLAGS) $(CLIENT_THREAD_LIBS) \ + @CLIENT_EXTRA_LDFLAGS@ \ + $(LIBMYSQLCLIENT_LA) \ +- $(top_builddir)/mysys/libmysys.a ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la +=20 + mysqltest_SOURCES=3D mysqltest.cc + mysqltest_CXXFLAGS=3D -DTHREAD -UMYSQL_CLIENT_NO_THREADS + mysqltest_LDADD =3D $(CXXLDFLAGS) $(CLIENT_THREAD_LIBS) \ + @CLIENT_EXTRA_LDFLAGS@ \ + $(LIBMYSQLCLIENT_LA) \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/regex/libregex.a \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/regex/libregex.la \ ++ $(top_builddir)/strings/libmystrings.la \ + $(CLIENT_THREAD_LIBS) +=20 + mysql_upgrade_SOURCES=3D mysql_upgrade.c \ +Index: config/ac-macros/plugins.m4 +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- config/ac-macros/plugins.m4.orig 2010-11-27 15:02:45.000000000 +0100 ++++ config/ac-macros/plugins.m4 2010-11-27 15:02:49.000000000 +0100 +@@ -115,18 +115,32 @@ dnl ------------------------------------ + dnl Macro: MYSQL_PLUGIN_STATIC + dnl + dnl SYNOPSIS +-dnl MYSQL_PLUGIN_STATIC([name],[libmyplugin.a]) ++dnl MYSQL_PLUGIN_STATIC([name],[libmyplugin.a],[libmyplugin_embedded.= a]) + dnl + dnl DESCRIPTION +-dnl Declare the name for the static library=20 ++dnl Declare the name for the static library ++dnl ++dnl Third argument is optional, only needed for special plugins that = depend ++dnl on server internals and have source files that must be compiled s= pecially ++dnl with -DEMBEDDED_LIBRARY for embedded server. If specified, the th= ird ++dnl argument is used to link embedded server instead of the second. + dnl + dnl -------------------------------------------------------------------= -------- +=20 + AC_DEFUN([MYSQL_PLUGIN_STATIC],[ + MYSQL_REQUIRE_PLUGIN([$1]) + m4_define([MYSQL_PLUGIN_STATIC_]AS_TR_CPP([$1]), [$2]) ++ ifelse($#, 3, [ ++ m4_define([MYSQL_PLUGIN_EMBEDDED_]AS_TR_CPP([$1]), [$3]) ++ ]) + ]) +=20 ++dnl -------------------------------------------------------------------= -------- ++dnl Substitution variable to use to compile source files specially for ++dnl embedded server. ++dnl To be used by plugins that have sources that depend on server inter= nals. ++dnl -------------------------------------------------------------------= -------- ++AC_SUBST([plugin_embedded_defs], ["-DEMBEDDED_LIBRARY -DMYSQL_SERVER"]) +=20 + dnl -------------------------------------------------------------------= -------- + dnl Macro: MYSQL_PLUGIN_DYNAMIC +@@ -254,29 +268,6 @@ AC_DEFUN([MYSQL_PLUGIN_ACTIONS],[ + ]) +=20 + dnl -------------------------------------------------------------------= -------- +-dnl Macro: MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS +-dnl +-dnl SYNOPSIS +-dnl MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS([name],[file name]) +-dnl +-dnl DESCRIPTION +-dnl Some modules in plugins keep dependance on structures +-dnl declared in sql/ (THD class usually) +-dnl That has to be fixed in the future, but until then +-dnl we have to recompile these modules when we want to +-dnl to compile server parts with the different #defines +-dnl Normally it happens when we compile the embedded server +-dnl Thus one should mark such files in his handler using this macro +-dnl (currently only one such a file per plugin is supported) +-dnl +-dnl -------------------------------------------------------------------= -------- +- +-AC_DEFUN([MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS],[ +- MYSQL_REQUIRE_PLUGIN([$1]) +- m4_define([MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS_]AS_TR_CPP([$1]), [= $2]) +-]) +- +-dnl -------------------------------------------------------------------= -------- + dnl Macro: MYSQL_CONFIGURE_PLUGINS + dnl + dnl SYNOPSIS +@@ -336,11 +327,25 @@ AC_DEFUN([_MYSQL_EMIT_CHECK_PLUGIN],[ + [MYSQL_PLUGIN_DYNAMIC_]AS_TR_CPP([$1]), + [MYSQL_PLUGIN_MANDATORY_]AS_TR_CPP([$1]), + [MYSQL_PLUGIN_DISABLED_]AS_TR_CPP([$1]), +- [MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS_]AS_TR_CPP([$1]), ++ [MYSQL_PLUGIN_EMBEDDED_]AS_TR_CPP([$1]), + [MYSQL_PLUGIN_ACTIONS_]AS_TR_CPP([$1]) + ) + ]) +=20 ++# __MYSQL_EMIT_CHECK_PLUGIN arguments: ++# ++# 1 - plugin identifying name ++# 2 - plugin identifying name, with `-' replaced by `_' ++# 3 - plugin long name ++# 4 - plugin description ++# 5 - mysql_plugin_define (eg. WITH_xxx_STORAGE_ENGINE) ++# 6 - directory ++# 7 - static target (if supports static build) ++# 8 - dynamic target (if supports dynamic build) ++# 9 - mandatory flag ++# 10 - disabled flag ++# 11 - static target for libmysqld (if different from mysqld) ++# 12 - actions + AC_DEFUN([__MYSQL_EMIT_CHECK_PLUGIN],[ + m4_ifdef([$5],[ + AH_TEMPLATE($5, [Include ]$4[ into mysqld]) +@@ -407,6 +412,7 @@ AC_DEFUN([__MYSQL_EMIT_CHECK_PLUGIN],[ + ]) + AC_SUBST([plugin_]$2[_shared_target], "$8") + AC_SUBST([plugin_]$2[_static_target], [""]) ++ AC_SUBST([plugin_]$2[_embedded_static_target], [""]) + [with_plugin_]$2=3Dyes + AC_MSG_RESULT([plugin]) + m4_ifdef([$6],[ +@@ -421,32 +427,47 @@ AC_DEFUN([__MYSQL_EMIT_CHECK_PLUGIN],[ + ]) + else + m4_ifdef([$7],[ +- ifelse(m4_bregexp($7, [^lib[^.]+\.a$]), -2, [ +-dnl change above "-2" to "0" to enable this section +-dnl Although this is "pretty", it breaks libmysqld build +- m4_ifdef([$6],[ +- mysql_use_plugin_dir=3D"$6" +- mysql_plugin_libs=3D"$mysql_plugin_libs -L[\$(top_builddir)]/$= 6" +- ]) +- mysql_plugin_libs=3D"$mysql_plugin_libs dnl +-[-l]m4_bregexp($7, [^lib\([^.]+\)], [\1])" +- ], m4_bregexp($7, [^\\\$]), 0, [ ++ ifelse(m4_bregexp($7, [^\\\$]), 0, [ + m4_ifdef([$6],[ + mysql_use_plugin_dir=3D"$6" + ]) + mysql_plugin_libs=3D"$mysql_plugin_libs $7" ++ m4_ifdef([$11],[ ++ mysql_embedded_plugin_libs=3D"$mysql_embedded_plugin_libs $11= " ++ ],[ ++ mysql_embedded_plugin_libs=3D"$mysql_embedded_plugin_libs $7" ++ ]) + ], [ + m4_ifdef([$6],[ + mysql_use_plugin_dir=3D"$6" + mysql_plugin_libs=3D"$mysql_plugin_libs \$(top_builddir)/$6/$7= " ++ m4_ifdef([$11],[ ++ mysql_embedded_plugin_libs=3D"$mysql_embedded_plugin_libs \$= (top_builddir)/$6/$11" ++ ],[ ++ mysql_embedded_plugin_libs=3D"$mysql_embedded_plugin_libs \$= (top_builddir)/$6/$7" ++ ]) + ],[ + mysql_plugin_libs=3D"$mysql_plugin_libs $7" ++ m4_ifdef([$11],[ ++ mysql_embedded_plugin_libs=3D"$mysql_embedded_plugin_libs $1= 1" ++ ],[ ++ mysql_embedded_plugin_libs=3D"$mysql_embedded_plugin_libs $7= " ++ ]) + ]) + ]) + m4_ifdef([$5],[ + AC_DEFINE($5) + ]) + AC_SUBST([plugin_]$2[_static_target], "$7") ++ m4_ifdef([$11], [ ++ if test "$with_embedded_server" =3D "yes"; then ++ AC_SUBST([plugin_]$2[_embedded_static_target], "$11") ++ else ++ AC_SUBST([plugin_]$2[_embedded_static_target], [""]) ++ fi ++ ], [ ++ AC_SUBST([plugin_]$2[_embedded_static_target], [""]) ++ ]) + AC_SUBST([plugin_]$2[_shared_target], [""]) + ],[ + m4_ifdef([$6],[ +@@ -463,12 +484,6 @@ dnl Although this is "pretty", it breaks + mysql_plugin_defs=3D"$mysql_plugin_defs, [builtin_]$2[_plugin]" + [with_plugin_]$2=3Dyes + AC_MSG_RESULT([yes]) +- m4_ifdef([$11],[ +- condition_dependent_plugin_modules=3D"$condition_dependent_plugi= n_modules m4_bregexp($11, [[^/]+$], [\&])" +- condition_dependent_plugin_objects=3D"$condition_dependent_plugi= n_objects m4_bregexp($11, [[^/]+\.], [\&o])" +- condition_dependent_plugin_links=3D"$condition_dependent_plugin_= links $6/$11" +- condition_dependent_plugin_includes=3D"$condition_dependent_plug= in_includes -I[\$(top_srcdir)]/$6/m4_bregexp($11, [^.+[/$]], [\&])" +- ]) + fi + fi +=20 +@@ -516,6 +531,14 @@ dnl + ]) + ]) +=20 ++dnl If not building libmysqld embedded server, then there is no need to= build ++dnl shared object versions of static plugins. ++if test "$with_embedded_server" =3D "yes"; then ++ AC_SUBST([plugin_static_if_no_embedded], "") ++else ++ AC_SUBST([plugin_static_if_no_embedded], "-static") ++fi ++ + AC_DEFUN([_MYSQL_EMIT_PLUGIN_ACTIONS],[ + ifelse($#, 0, [], $#, 1, [ + _MYSQL_EMIT_PLUGIN_ACTION([$1]) +Index: configure.in +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- configure.in.orig 2010-11-27 15:02:45.000000000 +0100 ++++ configure.in 2010-11-27 19:41:49.000000000 +0100 +@@ -2483,8 +2483,6 @@ MYSQL_STORAGE_ENGINE(partition, partitio +=20 + dnl -- ndbcluster requires partition to be enabled +=20 +-MYSQL_CONFIGURE_PLUGINS([none]) +- + # Only build client code? + AC_ARG_WITH(server, + [ --without-server Only build the client.], +@@ -2498,6 +2496,8 @@ AC_ARG_WITH(embedded-server, + [with_embedded_server=3Dno] + ) +=20 ++MYSQL_CONFIGURE_PLUGINS([none]) ++ + AC_ARG_WITH(query_cache, + [ --without-query-cache Do not build query cache.], + [with_query_cache=3D$withval], +@@ -2801,9 +2801,6 @@ if test "$with_server" !=3D "no" -o "$THRE + then + AC_DEFINE([THREAD], [1], + [Define if you want to have threaded code. This may be unde= f on client code]) +- # Avoid _PROGRAMS names +- THREAD_LOBJECTS=3D"thr_alarm.o thr_lock.o thr_mutex.o thr_rwlock.o my= _pthread.o my_thr_init.o mf_keycache.o" +- AC_SUBST(THREAD_LOBJECTS) + fi + AM_CONDITIONAL(NEED_THREAD, test "$with_server" !=3D "no" -o "$THREAD_S= AFE_CLIENT" !=3D "no") +=20 +@@ -2831,6 +2828,7 @@ AC_SUBST(server_scripts) +=20 + AC_SUBST(mysql_plugin_dirs) + AC_SUBST(mysql_plugin_libs) ++AC_SUBST(mysql_embedded_plugin_libs) + AC_SUBST(mysql_plugin_defs) +=20 +=20 +Index: dbug/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- dbug/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ dbug/Makefile.am 2010-11-27 19:42:26.000000000 +0100 +@@ -16,10 +16,10 @@ + # MA 02111-1307, USA +=20 + INCLUDES =3D -I$(top_builddir)/include -I$(top_srcdir)/inc= lude +-LDADD =3D libdbug.a ../mysys/libmysys.a ../strings/libm= ystrings.a +-pkglib_LIBRARIES =3D libdbug.a ++LDADD =3D libdbug.la ../mysys/libmysys.la ../strings/li= bmystrings.la $(ZLIB_LIBS) ++noinst_LTLIBRARIES =3D libdbug.la + noinst_HEADERS =3D dbug_long.h +-libdbug_a_SOURCES =3D dbug.c sanity.c ++libdbug_la_SOURCES =3D dbug.c sanity.c + EXTRA_DIST =3D CMakeLists.txt example1.c example2.c example3= .c \ + user.r monty.doc dbug_add_tags.pl \ + my_main.c main.c factorial.c dbug_analyze.c \ +Index: extra/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- extra/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ extra/Makefile.am 2010-11-27 15:02:49.000000000 +0100 +@@ -15,8 +15,8 @@ +=20 + INCLUDES =3D -I$(top_builddir)/include -I$(top_srcdir)/include \ + -I$(top_srcdir)/sql +-LDADD =3D @CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.a \ +- ../dbug/libdbug.a ../strings/libmystrings.a \ ++LDADD =3D @CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.la \ ++ ../dbug/libdbug.la ../strings/libmystrings.la \ + $(ZLIB_LIBS) + BUILT_SOURCES=3D $(top_builddir)/include/mysqld_error.h \ + $(top_builddir)/include/sql_state.h \ +Index: libmysqld/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- libmysqld/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ libmysqld/Makefile.am 2010-11-27 20:58:00.000000000 +0100 +@@ -17,95 +17,91 @@ + # + # This file is public domain and comes with NO WARRANTY of any kind +=20 +-MYSQLDATAdir =3D $(localstatedir) +-MYSQLSHAREdir =3D $(pkgdatadir) +-MYSQLBASEdir=3D $(prefix) +-MYSQLLIBdir=3D $(libdir) +-pkgplugindir =3D $(pkglibdir)/plugin ++MYSQLDATAdir =3D $(localstatedir) ++MYSQLSHAREdir =3D $(pkgdatadir) ++MYSQLBASEdir =3D $(prefix) ++MYSQLLIBdir =3D $(libdir) ++pkgplugindir =3D $(pkglibdir)/plugin +=20 +-EXTRA_DIST =3D libmysqld.def CMakeLists.txt +-DEFS =3D -DEMBEDDED_LIBRARY -DMYSQL_SERVER \ ++EXTRA_DIST =3D libmysqld.def CMakeLists.txt ++DEFS =3D -DEMBEDDED_LIBRARY -DMYSQL_SERVER \ + -DDEFAULT_MYSQL_HOME=3D"\"$(MYSQLBASEdir)\"" \ + -DMYSQL_DATADIR=3D"\"$(MYSQLDATAdir)\"" \ + -DSHAREDIR=3D"\"$(MYSQLSHAREdir)\"" \ + -DPLUGINDIR=3D"\"$(pkgplugindir)\"" +-INCLUDES=3D -I$(top_builddir)/include -I$(top_srcdir)/include \ ++INCLUDES =3D -I$(top_builddir)/include -I$(top_srcdir)/include \ + -I$(top_builddir)/sql -I$(top_srcdir)/sql \ + -I$(top_srcdir)/sql/examples \ + -I$(top_srcdir)/regex \ +- $(openssl_includes) @ZLIB_INCLUDES@ \ +- @condition_dependent_plugin_includes@ ++ $(openssl_includes) $(ZLIB_INCLUDES) \ ++ @condition_dependent_plugin_includes@ \ ++ $(ndbcluster_includes) +=20 +-noinst_LIBRARIES =3D libmysqld_int.a +-pkglib_LIBRARIES =3D libmysqld.a +-SUBDIRS =3D . examples ++pkglib_LTLIBRARIES =3D libmysqld.la ++SUBDIRS =3D . examples + libmysqld_sources=3D libmysqld.c lib_sql.cc emb_qcache.cc + libmysqlsources =3D errmsg.c get_password.c libmysql.c client.c pack.c = \ +- my_time.c ++ my_time.c +=20 + noinst_HEADERS =3D embedded_priv.h emb_qcache.h +=20 +-sqlsources =3D derror.cc field.cc field_conv.cc strfunc.cc filesort.cc = \ +- ha_ndbcluster.cc ha_ndbcluster_cond.cc \ +- ha_ndbcluster_binlog.cc ha_partition.cc \ +- handler.cc sql_handler.cc \ +- hostname.cc init.cc password.c \ +- item.cc item_buff.cc item_cmpfunc.cc item_create.cc \ +- item_func.cc item_strfunc.cc item_sum.cc item_timefunc.cc \ +- item_geofunc.cc item_subselect.cc item_row.cc\ +- item_xmlfunc.cc \ +- key.cc lock.cc log.cc sql_state.c \ +- log_event.cc rpl_record.cc \ +- log_event_old.cc rpl_record_old.cc \ +- protocol.cc net_serv.cc opt_range.cc \ +- opt_sum.cc procedure.cc records.cc sql_acl.cc \ +- sql_load.cc discover.cc sql_locale.cc \ +- sql_profile.cc \ +- sql_analyse.cc sql_base.cc sql_cache.cc sql_class.cc \ +- sql_crypt.cc sql_db.cc sql_delete.cc sql_error.cc sql_insert.cc \ +- sql_lex.cc sql_list.cc sql_manager.cc sql_map.cc \ +- scheduler.cc sql_connect.cc sql_parse.cc \ +- sql_prepare.cc sql_derived.cc sql_rename.cc \ +- sql_select.cc sql_do.cc sql_show.cc set_var.cc \ +- sql_string.cc sql_table.cc sql_test.cc sql_udf.cc \ +- sql_update.cc sql_yacc.cc table.cc thr_malloc.cc time.cc \ +- unireg.cc uniques.cc sql_union.cc hash_filo.cc \ +- spatial.cc gstream.cc sql_help.cc tztime.cc sql_cursor.cc \ +- sp_head.cc sp_pcontext.cc sp.cc sp_cache.cc sp_rcontext.cc \ +- parse_file.cc sql_view.cc sql_trigger.cc my_decimal.cc \ +- rpl_filter.cc sql_partition.cc sql_builtin.cc sql_plugin.cc \ +- debug_sync.cc \ +- sql_tablespace.cc \ +- rpl_injector.cc my_user.c partition_info.cc \ +- sql_servers.cc event_parse_data.cc +- +-libmysqld_int_a_SOURCES=3D $(libmysqld_sources) +-nodist_libmysqld_int_a_SOURCES=3D $(libmysqlsources) $(sqlsources) +-libmysqld_a_SOURCES=3D +- +-sqlstoragesources =3D $(EXTRA_libmysqld_a_SOURCES) +-storagesources =3D @condition_dependent_plugin_modules@ +-storageobjects =3D @condition_dependent_plugin_objects@ +-storagesourceslinks =3D @condition_dependent_plugin_links@ ++sqlsources =3D derror.cc field.cc field_conv.cc strfunc.cc filesort.cc = \ ++ ha_ndbcluster.cc ha_ndbcluster_cond.cc \ ++ ha_ndbcluster_binlog.cc ha_partition.cc \ ++ handler.cc sql_handler.cc \ ++ hostname.cc init.cc password.c \ ++ item.cc item_buff.cc item_cmpfunc.cc item_create.cc \ ++ item_func.cc item_strfunc.cc item_sum.cc item_timefunc.cc \ ++ item_geofunc.cc item_subselect.cc item_row.cc\ ++ item_xmlfunc.cc \ ++ key.cc lock.cc log.cc sql_state.c \ ++ log_event.cc rpl_record.cc \ ++ log_event_old.cc rpl_record_old.cc \ ++ protocol.cc net_serv.cc opt_range.cc \ ++ opt_sum.cc procedure.cc records.cc sql_acl.cc \ ++ sql_load.cc discover.cc sql_locale.cc \ ++ sql_profile.cc \ ++ sql_analyse.cc sql_base.cc sql_cache.cc sql_class.cc \ ++ sql_crypt.cc sql_db.cc sql_delete.cc sql_error.cc sql_insert.cc \ ++ sql_lex.cc sql_list.cc sql_manager.cc sql_map.cc \ ++ scheduler.cc sql_connect.cc sql_parse.cc \ ++ sql_prepare.cc sql_derived.cc sql_rename.cc \ ++ sql_select.cc sql_do.cc sql_show.cc set_var.cc \ ++ sql_string.cc sql_table.cc sql_test.cc sql_udf.cc \ ++ sql_update.cc sql_yacc.cc table.cc thr_malloc.cc time.cc \ ++ unireg.cc uniques.cc sql_union.cc hash_filo.cc \ ++ spatial.cc gstream.cc sql_help.cc tztime.cc sql_cursor.cc \ ++ sp_head.cc sp_pcontext.cc sp.cc sp_cache.cc sp_rcontext.cc \ ++ parse_file.cc sql_view.cc sql_trigger.cc my_decimal.cc \ ++ rpl_filter.cc sql_partition.cc sql_builtin.cc sql_plugin.cc \ ++ debug_sync.cc \ ++ sql_tablespace.cc \ ++ rpl_injector.cc my_user.c partition_info.cc \ ++ sql_servers.cc event_parse_data.cc +=20 + # automake misses these + sql_yacc.cc sql_yacc.h: $(top_srcdir)/sql/sql_yacc.yy +=20 + # The following libraries should be included in libmysqld.a +-INC_LIB=3D $(top_builddir)/regex/libregex.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/vio/libvio.a \ +- @NDB_SCI_LIBS@ \ +- @mysql_plugin_libs@ \ +- $(yassl_inc_libs) ++INC_LIB=3D $(top_builddir)/regex/libregex.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/vio/libvio.la \ ++ @ZLIB_LIBS@ @LIBDL@ \ ++ $(NDB_SCI_LIBS) \ ++ $(mysql_embedded_plugin_libs) \ ++ $(yassl_inc_libs) +=20 + if HAVE_YASSL +-yassl_inc_libs=3D $(top_builddir)/extra/yassl/src/.libs/libyassl.a \ +- $(top_builddir)/extra/yassl/taocrypt/src/.libs/libtaocrypt.a ++yassl_inc_libs=3D $(top_builddir)/extra/yassl/src/libyassl.la \ ++ $(top_builddir)/extra/yassl/taocrypt/src/libtaocrypt.la + endif +=20 ++libmysqld_la_SOURCES=3D $(libmysqld_sources) ++nodist_libmysqld_la_SOURCES=3D $(libmysqlsources) $(sqlsources) ++libmysqld_la_LIBADD =3D $(INC_LIB) ++ + # Storage engine specific compilation options + ha_ndbcluster.o:ha_ndbcluster.cc + $(CXXCOMPILE) @ndbcluster_includes@ $(LM_CFLAGS) -c $< +@@ -139,44 +135,6 @@ ha_myisam.o:ha_myisam.cc + ha_myisammrg.o:ha_myisammrg.cc + $(CXXCOMPILE) $(LM_CFLAGS) -c $< +=20 +-# +-# To make it easy for the end user to use the embedded library we +-# generate a total libmysqld.a from all library files, +- +-# note - InnoDB libraries have circular dependencies, so in INC_LIB +-# few libraries are present two times. Metrowerks linker doesn't like +-# it at all. Traditional ar has no problems with it, but still there's = no +-# need to add the same file twice to the library, so 'sort -u' save us +-# some time and spares unnecessary work. +- +-libmysqld.a: libmysqld_int.a $(INC_LIB) $(libmysqld_a_DEPENDENCIES) $(s= torageobjects) +-if DARWIN_MWCC +- mwld -lib -o $@ libmysqld_int.a `echo $(INC_LIB) | sort -u` $(storageo= bjects) +-else +- -rm -f libmysqld.a +- if test "$(host_os)" =3D "netware" ; \ +- then \ +- $(libmysqld_a_AR) libmysqld.a $(INC_LIB) libmysqld_int.a $(storageo= bjects); \ +- else \ +- current_dir=3D`pwd`; \ +- rm -rf tmp; mkdir tmp; \ +- (for arc in $(INC_LIB) ./libmysqld_int.a; do \ +- arpath=3D`echo $$arc|sed 's|[^/]*$$||'|sed 's|\.libs/$$||'`; \ +- artmp=3D`echo $$arc|sed 's|^.*/|tmp/lib-|'`; \ +- for F in `$(AR) t $$arc | grep -v SYMDEF`; do \ +- if test -e "$$arpath/$$F" ; then echo "$$arpath/$$F"; else \ +- mkdir $$artmp; cd $$artmp > /dev/null; \ +- $(AR) x ../../$$arc; \ +- cd $$current_dir > /dev/null; \ +- ls $$artmp/* | grep -v SYMDEF; \ +- continue 2; fi; done; \ +- done; echo $(libmysqld_a_DEPENDENCIES) ) | sort -u | xargs $(AR) cq= libmysqld.a ; \ +- $(AR) r libmysqld.a $(storageobjects); \ +- $(RANLIB) libmysqld.a ; \ +- rm -rf tmp; \ +- fi +-endif +- + ## XXX: any time the client interface changes, we'll need to bump + ## the version info for libmysqld; however, it's possible for the + ## libmysqld interface to change without affecting the standard +@@ -187,7 +145,7 @@ endif +=20 + BUILT_SOURCES =3D link_sources +=20 +-CLEANFILES =3D $(BUILT_SOURCES) ++CLEANFILES =3D libmysqld.la +=20 + link_sources: + for f in $(sqlsources); do \ +@@ -208,20 +166,6 @@ link_sources: + @LN_CP_F@ $(top_builddir)/libmysql/$$f $$f; \ + fi ; \ + done; \ +- if test -n "$(sqlstoragesources)" ; \ +- then \ +- for f in "$(sqlstoragesources)"; do \ +- rm -f "$$f"; \ +- @LN_CP_F@ `find $(srcdir)/../sql -name "$$f"` "$$f"; \ +- done; \ +- fi; \ +- if test -n "$(storagesources)" ; \ +- then \ +- rm -f $(storagesources); \ +- for f in $(storagesourceslinks); do \ +- @LN_CP_F@ $(top_srcdir)/$$f . ; \ +- done; \ +- fi; \ + rm -f client_settings.h; \ + @LN_CP_F@ $(top_srcdir)/libmysql/client_settings.h \ + client_settings.h; \ +@@ -229,7 +173,7 @@ link_sources: +=20 +=20 + clean-local: +- rm -f `echo $(sqlsources) $(libmysqlsources) $(sqlstoragesources) $(st= oragesources) | sed "s;\.lo;.c;g"`; \ ++ rm -f `echo $(sqlsources) $(libmysqlsources) | sed "s;\.lo;.c;g"`; \ + rm -f client_settings.h +=20 + # Don't update the files from bitkeeper +Index: libmysqld/examples/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- libmysqld/examples/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0= 100 ++++ libmysqld/examples/Makefile.am 2010-11-27 15:02:49.000000000 +0100 +@@ -37,12 +37,16 @@ INCLUDES =3D -I$(top_builddir)/include -I$ + -I$(top_srcdir) -I$(top_srcdir)/client -I$(top_srcdir)/regex \ + $(openssl_includes) + LIBS =3D @LIBS@ @WRAPLIBS@ @CLIENT_LIBS@ $(yassl_libs) +-LDADD =3D @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.a @LIBDL@ $(CXXLDFLAGS) = \ +- @NDB_SCI_LIBS@ ++LDADD =3D @CLIENT_EXTRA_LDFLAGS@ ../libmysqld.la @LIBDL@ $(CXXLDFLAGS)= \ ++ @NDB_SCI_LIBS@ \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(ZLIB_LIBS) +=20 + mysqltest_embedded_LINK =3D $(CXXLINK) + nodist_mysqltest_embedded_SOURCES =3D mysqltest.cc +-mysqltest_embedded_LDADD =3D $(LDADD) $(top_builddir)/regex/libregex.a = \ ++mysqltest_embedded_LDADD =3D $(LDADD) $(top_builddir)/regex/libregex.la= \ + @MYSQLD_EXTRA_LDFLAGS@ +=20 + nodist_mysql_SOURCES =3D mysql.cc readline.cc completion_hash.cc \ +Index: mysys/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- mysys/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ mysys/Makefile.am 2010-11-27 19:42:49.000000000 +0100 +@@ -18,10 +18,10 @@ MYSQLSHAREdir =3D $(pkgdatadir) + MYSQLBASEdir=3D $(prefix) + INCLUDES =3D @ZLIB_INCLUDES@ -I$(top_builddir)/include \ + -I$(top_srcdir)/include -I$(srcdir) +-pkglib_LIBRARIES =3D libmysys.a +-LDADD =3D libmysys.a $(top_builddir)/strings/libmystrings.a $(top_bui= lddir)/dbug/libdbug.a ++noinst_LTLIBRARIES =3D libmysys.la ++LDADD =3D libmysys.la $(top_builddir)/strings/libmystrings.la $(top_b= uilddir)/dbug/libdbug.la + noinst_HEADERS =3D mysys_priv.h my_static.h my_handler_errors.h +-libmysys_a_SOURCES =3D my_init.c my_getwd.c mf_getdate.c my_mmap.c \ ++libmysys_la_SOURCES =3D my_init.c my_getwd.c mf_getdate.c my_mmap.c = \ + mf_path.c mf_loadpath.c my_file.c \ + my_open.c my_create.c my_dup.c my_seek.c my_read.c \ + my_pread.c my_write.c my_getpagesize.c \ +@@ -57,18 +57,18 @@ if NEED_THREAD + # mf_keycache is used only in the server, so it is safe to leave the fi= le + # out of the non-threaded library. + # In fact, it will currently not compile without thread support. +-libmysys_a_SOURCES +=3D mf_keycache.c ++libmysys_la_SOURCES +=3D thr_alarm.c thr_lock.c thr_mutex.c thr_rwloc= k.c \ ++ my_pthread.c my_thr_init.c mf_keycache.c + endif +=20 + EXTRA_DIST =3D thr_alarm.c thr_lock.c my_pthread.c my_thr_init.c \ + thr_mutex.c thr_rwlock.c \ + CMakeLists.txt mf_soundex.c \ + my_conio.c my_wincond.c my_winthread.c +-libmysys_a_LIBADD =3D @THREAD_LOBJECTS@ +-# test_dir_DEPENDENCIES=3D $(LIBRARIES) +-# testhash_DEPENDENCIES=3D $(LIBRARIES) +-# test_charset_DEPENDENCIES=3D $(LIBRARIES) +-# charset2html_DEPENDENCIES=3D $(LIBRARIES) ++# test_dir_DEPENDENCIES=3D $(LTLIBRARIES) ++# testhash_DEPENDENCIES=3D $(LTLIBRARIES) ++# test_charset_DEPENDENCIES=3D $(LTLIBRARIES) ++# charset2html_DEPENDENCIES=3D $(LTLIBRARIES) + DEFS =3D -DDEFAULT_BASEDIR=3D\"$(prefix)\" \ + -DMYSQL_DATADIR=3D"\"$(MYSQLDATAdir)\"" \ + -DDEFAULT_CHARSET_HOME=3D"\"$(MYSQLBASEdir)\"" \ +@@ -78,8 +78,6 @@ DEFS =3D -DDEFAULT_BASEDIR=3D\"$(prefix)\" + -DDEFAULT_SYSCONFDIR=3D"\"$(sysconfdir)\"" \ + @DEFS@ +=20 +-libmysys_a_DEPENDENCIES=3D @THREAD_LOBJECTS@ +- + # I hope this always does the right thing. Otherwise this is only test = programs + FLAGS=3D$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) @NOINST_LDFLAGS@ +=20 +@@ -88,47 +86,47 @@ FLAGS=3D$(DEFS) $(INCLUDES) $(CPPFLAGS) $( + # which automaticly removes the object files you use to compile a final= program + # +=20 +-test_bitmap$(EXEEXT): my_bitmap.c $(LIBRARIES) ++test_bitmap$(EXEEXT): my_bitmap.c $(LTLIBRARIES) + $(LINK) $(FLAGS) -DMAIN ./my_bitmap.c $(LDADD) $(LIBS) +=20 +-test_priority_queue$(EXEEXT): queues.c $(LIBRARIES) ++test_priority_queue$(EXEEXT): queues.c $(LTLIBRARIES) + $(LINK) $(FLAGS) -DMAIN ./queues.c $(LDADD) $(LIBS) +=20 +-test_thr_alarm$(EXEEXT): thr_alarm.c $(LIBRARIES) ++test_thr_alarm$(EXEEXT): thr_alarm.c $(LTLIBRARIES) + $(CP) $(srcdir)/thr_alarm.c ./test_thr_alarm.c + $(LINK) $(FLAGS) -DMAIN ./test_thr_alarm.c $(LDADD) $(LIBS) + $(RM) -f ./test_thr_alarm.c +=20 +-test_thr_lock$(EXEEXT): thr_lock.c $(LIBRARIES) ++test_thr_lock$(EXEEXT): thr_lock.c $(LTLIBRARIES) + $(CP) $(srcdir)/thr_lock.c test_thr_lock.c + $(LINK) $(FLAGS) -DMAIN ./test_thr_lock.c $(LDADD) $(LIBS) + $(RM) -f ./test_thr_lock.c +=20 +-test_vsnprintf$(EXEEXT): my_vsnprintf.c $(LIBRARIES) ++test_vsnprintf$(EXEEXT): my_vsnprintf.c $(LTLIBRARIES) + $(CP) $(srcdir)/my_vsnprintf.c test_vsnprintf.c + $(LINK) $(FLAGS) -DMAIN ./test_vsnprintf.c $(LDADD) $(LIBS) + $(RM) -f test_vsnprintf.c +=20 +-test_io_cache$(EXEEXT): mf_iocache.c $(LIBRARIES) ++test_io_cache$(EXEEXT): mf_iocache.c $(LTLIBRARIES) + $(CP) $(srcdir)/mf_iocache.c test_io_cache.c + $(LINK) $(FLAGS) -DMAIN ./test_io_cache.c $(LDADD) $(LIBS) + $(RM) -f test_io_cache.c +=20 +-test_dir$(EXEEXT): test_dir.c $(LIBRARIES) ++test_dir$(EXEEXT): test_dir.c $(LTLIBRARIES) + $(LINK) $(FLAGS) -DMAIN $(srcdir)/test_dir.c $(LDADD) $(LIBS) +=20 +-test_charset$(EXEEXT): test_charset.c $(LIBRARIES) ++test_charset$(EXEEXT): test_charset.c $(LTLIBRARIES) + $(LINK) $(FLAGS) -DMAIN $(srcdir)/test_charset.c $(LDADD) $(LIBS) +=20 +-testhash$(EXEEXT): testhash.c $(LIBRARIES) ++testhash$(EXEEXT): testhash.c $(LTLIBRARIES) + $(LINK) $(FLAGS) -DMAIN $(srcdir)/testhash.c $(LDADD) $(LIBS) +=20 +-test_gethwaddr$(EXEEXT): my_gethwaddr.c $(LIBRARIES) ++test_gethwaddr$(EXEEXT): my_gethwaddr.c $(LTLIBRARIES) + $(CP) $(srcdir)/my_gethwaddr.c ./test_gethwaddr.c + $(LINK) $(FLAGS) -DMAIN ./test_gethwaddr.c $(LDADD) $(LIBS) + $(RM) -f ./test_gethwaddr.c +=20 +-test_base64$(EXEEXT): base64.c $(LIBRARIES) ++test_base64$(EXEEXT): base64.c $(LTLIBRARIES) + $(CP) $(srcdir)/base64.c ./test_base64.c + $(LINK) $(FLAGS) -DMAIN ./test_base64.c $(LDADD) $(LIBS) + $(RM) -f ./test_base64.c +Index: netware/BUILD/compile-linux-tools +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- netware/BUILD/compile-linux-tools.orig 2010-11-27 15:02:45.000000000= +0100 ++++ netware/BUILD/compile-linux-tools 2010-11-27 15:02:49.000000000 +010= 0 +@@ -34,14 +34,14 @@ make + # Create mysql_version.h which was deleted my previous step + ./config.status include/mysql_version.h + = =20 +-(cd dbug; make libdbug.a) +-(cd strings; make libmystrings.a) +-(cd mysys; make libmysys.a) +-(cd storage/heap; make libheap.a) +-(cd vio; make libvio.a) +-(cd regex; make libregex.a) +-(cd storage/myisam; make libmyisam.a) +-(cd storage/myisammrg; make libmyisammrg.a) ++(cd dbug; make libdbug.la) ++(cd strings; make libmystrings.la) ++(cd mysys; make libmysys.la) ++(cd storage/heap; make libheap.la) ++(cd vio; make libvio.la) ++(cd regex; make libregex.la) ++(cd storage/myisam; make libmyisam.la) ++(cd storage/myisammrg; make libmyisammrg.la) + (cd extra; make comp_err) + (cd libmysql; make conf_to_src) + (cd libmysql_r; make conf_to_src) +Index: netware/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- netware/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ netware/Makefile.am 2010-11-27 15:02:49.000000000 +0100 +@@ -16,8 +16,8 @@ +=20 + if HAVE_NETWARE + INCLUDES =3D -I$(top_builddir)/include -I$(top_srcdir)/include -I.. +-LDADD =3D @CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.a \ +- ../dbug/libdbug.a ../strings/libmystrings.a ++LDADD =3D @CLIENT_EXTRA_LDFLAGS@ ../mysys/libmysys.la \ ++ ../dbug/libdbug.la ../strings/libmystrings.la + bin_PROGRAMS =3D mysqld_safe mysql_install_db mysql_test_run libmysql + mysqld_safe_SOURCES=3D mysqld_safe.c my_manage.c + mysql_install_db_SOURCES=3D mysql_install_db.c my_manage.c +Index: regex/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- regex/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ regex/Makefile.am 2010-11-27 15:02:49.000000000 +0100 +@@ -16,10 +16,10 @@ + # MA 02111-1307, USA +=20 + INCLUDES =3D -I$(top_builddir)/include -I$(top_srcdir)/include +-noinst_LIBRARIES =3D libregex.a +-LDADD=3D libregex.a $(top_builddir)/strings/libmystrings.a ++noinst_LTLIBRARIES =3D libregex.la ++LDADD=3D libregex.la $(top_builddir)/strings/libmystrings.la + noinst_HEADERS =3D cclass.h cname.h regex2.h utils.h engine.c my_regex.= h +-libregex_a_SOURCES =3D regerror.c regcomp.c regexec.c regfree.c reginit= .c ++libregex_la_SOURCES =3D regerror.c regcomp.c regexec.c regfree.c regini= t.c + noinst_PROGRAMS =3D re + re_SOURCES =3D split.c debug.c main.c + re_LDFLAGS=3D @NOINST_LDFLAGS@ +Index: server-tools/instance-manager/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- server-tools/instance-manager/Makefile.am.orig 2010-11-27 15:02:45.0= 00000000 +0100 ++++ server-tools/instance-manager/Makefile.am 2010-11-27 15:02:49.000000= 000 +0100 +@@ -87,10 +87,10 @@ mysqlmanager_SOURCES=3D command.cc command + mysqlmanager_LDADD=3D @CLIENT_EXTRA_LDFLAGS@ \ + liboptions.la \ + libnet.a \ +- $(top_builddir)/vio/libvio.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a \ +- $(top_builddir)/dbug/libdbug.a \ ++ $(top_builddir)/vio/libvio.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la \ ++ $(top_builddir)/dbug/libdbug.la \ + @openssl_libs@ @yassl_libs@ @ZLIB_LIBS@ +=20 + EXTRA_DIST =3D WindowsService.cpp WindowsService.h IMService.cpp \ +Index: sql/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- sql/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ sql/Makefile.am 2010-11-27 15:02:49.000000000 +0100 +@@ -32,13 +32,13 @@ bin_PROGRAMS =3D mysql_tzinfo_to_sql + noinst_LTLIBRARIES=3D libndb.la \ + udf_example.la +=20 +-SUPPORTING_LIBS =3D $(top_builddir)/vio/libvio.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/regex/libregex.a \ +- $(top_builddir)/strings/libmystrings.a ++SUPPORTING_LIBS =3D $(top_builddir)/vio/libvio.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/regex/libregex.la \ ++ $(top_builddir)/strings/libmystrings.la + mysqld_DEPENDENCIES=3D @mysql_plugin_libs@ $(SUPPORTING_LIBS) libndb.la +-LDADD =3D $(SUPPORTING_LIBS) @ZLIB_LIBS@ @NDB_SCI_LIBS@ ++LDADD =3D $(SUPPORTING_LIBS) @ZLIB_LIBS@ @NDB_SCI_LIBS@ $(openssl_libs)= $(yassl_libs) + mysqld_LDADD =3D libndb.la \ + @MYSQLD_EXTRA_LDFLAGS@ \ + @pstack_libs@ \ +Index: storage/archive/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/archive/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ storage/archive/Makefile.am 2010-11-27 15:02:49.000000000 +0100 +@@ -33,7 +33,7 @@ DEFS =3D @DEFS@ + noinst_HEADERS =3D ha_archive.h azlib.h + noinst_PROGRAMS =3D archive_test archive_reader +=20 +-EXTRA_LTLIBRARIES =3D ha_archive.la ++EXTRA_LTLIBRARIES =3D libarchive.la ha_archive.la + pkgplugin_LTLIBRARIES =3D @plugin_archive_shared_target@ + ha_archive_la_LDFLAGS =3D -module -rpath $(pkgplugindir) + ha_archive_la_CXXFLAGS=3D $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN +@@ -41,26 +41,25 @@ ha_archive_la_CFLAGS =3D $(AM_CFLAGS) -DMY + ha_archive_la_SOURCES =3D ha_archive.cc azio.c +=20 +=20 +-EXTRA_LIBRARIES =3D libarchive.a +-noinst_LIBRARIES =3D @plugin_archive_static_target@ +-libarchive_a_CXXFLAGS =3D $(AM_CXXFLAGS) +-libarchive_a_CFLAGS =3D $(AM_CFLAGS) +-libarchive_a_SOURCES =3D ha_archive.cc azio.c ++noinst_LTLIBRARIES =3D @plugin_archive_static_target@ ++libarchive_la_CXXFLAGS =3D $(AM_CXXFLAGS) @plugin_static_if_no_embedded= @ ++libarchive_la_CFLAGS =3D $(AM_CFLAGS) @plugin_static_if_no_embedded@ ++libarchive_la_SOURCES =3D ha_archive.cc azio.c +=20 +=20 + archive_test_SOURCES =3D archive_test.c azio.c + archive_test_CFLAGS =3D $(AM_CFLAGS) +-archive_test_LDADD =3D $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a \ ++archive_test_LDADD =3D $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la \ + @ZLIB_LIBS@ + archive_test_LDFLAGS =3D @NOINST_LDFLAGS@ +=20 + archive_reader_SOURCES =3D archive_reader.c azio.c + archive_reader_CFLAGS =3D $(AM_CFLAGS) +-archive_reader_LDADD =3D $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a \ ++archive_reader_LDADD =3D $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la \ + @ZLIB_LIBS@ + archive_reader_LDFLAGS =3D @NOINST_LDFLAGS@ +=20 +Index: storage/archive/plug.in +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/archive/plug.in.orig 2010-11-27 15:02:45.000000000 +0100 ++++ storage/archive/plug.in 2010-11-27 15:02:49.000000000 +0100 +@@ -1,4 +1,4 @@ + MYSQL_STORAGE_ENGINE(archive,, [Archive Storage Engine], + [Archive Storage Engine], [max,max-no-ndb]) +-MYSQL_PLUGIN_STATIC(archive, [libarchive.a]) ++MYSQL_PLUGIN_STATIC(archive, [libarchive.la]) + MYSQL_PLUGIN_DYNAMIC(archive, [ha_archive.la]) +Index: storage/blackhole/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/blackhole/Makefile.am.orig 2010-11-27 15:02:45.000000000 +01= 00 ++++ storage/blackhole/Makefile.am 2010-11-27 15:02:49.000000000 +0100 +@@ -32,7 +32,7 @@ DEFS =3D @DEFS@ +=20 + noinst_HEADERS =3D ha_blackhole.h +=20 +-EXTRA_LTLIBRARIES =3D ha_blackhole.la ++EXTRA_LTLIBRARIES =3D libblackhole.la ha_blackhole.la + pkgplugin_LTLIBRARIES =3D @plugin_blackhole_shared_target@ + ha_blackhole_la_LDFLAGS=3D-module -rpath $(pkgplugindir) + ha_blackhole_la_CXXFLAGS=3D$(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN +@@ -40,11 +40,10 @@ ha_blackhole_la_CFLAGS=3D $(AM_CFLAGS) -DM + ha_blackhole_la_SOURCES=3Dha_blackhole.cc +=20 +=20 +-EXTRA_LIBRARIES =3D libblackhole.a +-noinst_LIBRARIES =3D @plugin_blackhole_static_target@ +-libblackhole_a_CXXFLAGS=3D$(AM_CXXFLAGS) +-libblackhole_a_CFLAGS =3D $(AM_CFLAGS) +-libblackhole_a_SOURCES=3D ha_blackhole.cc ++noinst_LTLIBRARIES =3D @plugin_blackhole_static_target@ ++libblackhole_la_CXXFLAGS=3D$(AM_CXXFLAGS) @plugin_static_if_no_embedde= d@ ++libblackhole_la_CFLAGS =3D $(AM_CFLAGS) @plugin_static_if_no_embedded@ ++libblackhole_la_SOURCES=3D ha_blackhole.cc +=20 +=20 + EXTRA_DIST =3D CMakeLists.txt plug.in +Index: storage/blackhole/plug.in +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/blackhole/plug.in.orig 2010-11-27 15:02:45.000000000 +0100 ++++ storage/blackhole/plug.in 2010-11-27 15:02:49.000000000 +0100 +@@ -1,6 +1,6 @@ + MYSQL_STORAGE_ENGINE(blackhole,,[Blackhole Storage Engine], + [Basic Write-only Read-never tables], [max,max-no-ndb]) + MYSQL_PLUGIN_DIRECTORY(blackhole, [storage/blackhole]) +-MYSQL_PLUGIN_STATIC(blackhole, [libblackhole.a]) ++MYSQL_PLUGIN_STATIC(blackhole, [libblackhole.la]) + MYSQL_PLUGIN_DYNAMIC(blackhole, [ha_blackhole.la]) +=20 +Index: storage/csv/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/csv/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ storage/csv/Makefile.am 2010-11-27 15:02:49.000000000 +0100 +@@ -29,16 +29,15 @@ LDADD =3D + DEFS =3D @DEFS@ + noinst_HEADERS =3D ha_tina.h transparent_file.h +=20 +-EXTRA_LTLIBRARIES =3D ha_csv.la ++EXTRA_LTLIBRARIES =3D libcsv.la ha_csv.la + pkglib_LTLIBRARIES =3D @plugin_csv_shared_target@ + ha_csv_la_LDFLAGS =3D -module -rpath $(MYSQLLIBdir) + ha_csv_la_CXXFLAGS =3D $(AM_CXXFLAGS) -DMYSQL_PLUGIN + ha_csv_la_SOURCES =3D transparent_file.cc ha_tina.cc=20 +=20 +-EXTRA_LIBRARIES =3D libcsv.a +-noinst_LIBRARIES =3D @plugin_csv_static_target@ +-libcsv_a_CXXFLAGS =3D $(AM_CXXFLAGS) +-libcsv_a_SOURCES =3D transparent_file.cc ha_tina.cc ++noinst_LTLIBRARIES =3D @plugin_csv_static_target@ ++libcsv_la_CXXFLAGS =3D $(AM_CXXFLAGS) @plugin_static_if_no_embedded@ ++libcsv_la_SOURCES =3D transparent_file.cc ha_tina.cc +=20 + EXTRA_DIST =3D CMakeLists.txt plug.in + # Don't update the files from bitkeeper +Index: storage/csv/plug.in +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/csv/plug.in.orig 2010-11-27 15:02:45.000000000 +0100 ++++ storage/csv/plug.in 2010-11-27 15:02:49.000000000 +0100 +@@ -1,5 +1,5 @@ + MYSQL_STORAGE_ENGINE(csv,, [CSV Storage Engine], + [Stores tables in text CSV format]) + MYSQL_PLUGIN_DIRECTORY(csv, [storage/csv]) +-MYSQL_PLUGIN_STATIC(csv, [libcsv.a]) ++MYSQL_PLUGIN_STATIC(csv, [libcsv.la]) + MYSQL_PLUGIN_MANDATORY(csv) dnl Used for logging +Index: storage/example/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/example/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ storage/example/Makefile.am 2010-11-27 15:02:49.000000000 +0100 +@@ -32,7 +32,7 @@ DEFS =3D @DEFS@ +=20 + noinst_HEADERS =3D ha_example.h +=20 +-EXTRA_LTLIBRARIES =3D ha_example.la ++EXTRA_LTLIBRARIES =3D libexample.la ha_example.la + pkgplugin_LTLIBRARIES =3D @plugin_example_shared_target@ + ha_example_la_LDFLAGS =3D -module -rpath $(pkgplugindir) + ha_example_la_CXXFLAGS=3D $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN +@@ -40,11 +40,10 @@ ha_example_la_CFLAGS =3D $(AM_CFLAGS) -DMY + ha_example_la_SOURCES =3D ha_example.cc +=20 +=20 +-EXTRA_LIBRARIES =3D libexample.a +-noinst_LIBRARIES =3D @plugin_example_static_target@ +-libexample_a_CXXFLAGS =3D $(AM_CXXFLAGS) +-libexample_a_CFLAGS =3D $(AM_CFLAGS) +-libexample_a_SOURCES=3D ha_example.cc ++noinst_LTLIBRARIES =3D @plugin_example_static_target@ ++libexample_la_CXXFLAGS =3D $(AM_CXXFLAGS) @plugin_static_if_no_embedde= d@ ++libexample_la_CFLAGS =3D $(AM_CFLAGS) @plugin_static_if_no_embedded@ ++libexample_la_SOURCES=3D ha_example.cc +=20 +=20 + EXTRA_DIST =3D CMakeLists.txt plug.in +Index: storage/federated/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/federated/Makefile.am.orig 2010-11-27 15:02:45.000000000 +01= 00 ++++ storage/federated/Makefile.am 2010-11-27 15:02:49.000000000 +0100 +@@ -32,7 +32,7 @@ DEFS =3D @DEFS@ +=20 + noinst_HEADERS =3D ha_federated.h +=20 +-EXTRA_LTLIBRARIES =3D ha_federated.la ++EXTRA_LTLIBRARIES =3D libfederated.la libfederated_embedded.la ha_feder= ated.la + pkgplugin_LTLIBRARIES =3D @plugin_federated_shared_target@ + ha_federated_la_LDFLAGS =3D -module -rpath $(pkgplugindir) + ha_federated_la_CXXFLAGS=3D $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN +@@ -40,11 +40,14 @@ ha_federated_la_CFLAGS =3D $(AM_CFLAGS) -D + ha_federated_la_SOURCES =3D ha_federated.cc $(top_srcdir)/mysys/string.= c +=20 +=20 +-EXTRA_LIBRARIES =3D libfederated.a +-noinst_LIBRARIES =3D @plugin_federated_static_target@ +-libfederated_a_CXXFLAGS =3D $(AM_CXXFLAGS) +-libfederated_a_CFLAGS =3D $(AM_CFLAGS) +-libfederated_a_SOURCES=3D ha_federated.cc $(top_srcdir)/mysys/string.c ++noinst_LTLIBRARIES =3D @plugin_federated_static_target@ @plugin_federat= ed_embedded_static_target@ ++libfederated_la_CXXFLAGS =3D $(AM_CXXFLAGS) @plugin_static_if_no_embedd= ed@ ++libfederated_la_CFLAGS =3D $(AM_CFLAGS) @plugin_static_if_no_embedded@ ++libfederated_la_SOURCES=3D ha_federated.cc $(top_srcdir)/mysys/string.c ++ ++libfederated_embedded_la_CXXFLAGS =3D $(AM_CXXFLAGS) @plugin_embedde= d_defs@ ++libfederated_embedded_la_CFLAGS =3D $(AM_CFLAGS) @plugin_embedded_defs= @ ++libfederated_embedded_la_SOURCES=3D ha_federated.cc $(top_srcdir)/mysy= s/string.c +=20 +=20 + EXTRA_DIST =3D CMakeLists.txt plug.in +Index: storage/federated/plug.in +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/federated/plug.in.orig 2010-11-27 15:02:45.000000000 +0100 ++++ storage/federated/plug.in 2010-11-27 15:02:49.000000000 +0100 +@@ -1,5 +1,4 @@ + MYSQL_STORAGE_ENGINE(federated,,[Federated Storage Engine], + [Connects to tables on remote MySQL servers], [max,max-no-ndb]) +-MYSQL_PLUGIN_STATIC(federated, [libfederated.a]) ++MYSQL_PLUGIN_STATIC(federated, [libfederated.la], [libfederated_embe= dded.la]) + MYSQL_PLUGIN_DYNAMIC(federated, [ha_federated.la]) +-MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS(federated, [ha_federated.cc]) +Index: storage/heap/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/heap/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ storage/heap/Makefile.am 2010-11-27 19:44:23.000000000 +0100 +@@ -26,27 +26,40 @@ WRAPLIBS=3D + LDADD =3D +=20 + DEFS =3D @DEFS@ +-pkglib_LIBRARIES =3D libheap.a ++noinst_LTLIBRARIES =3D libheap.la libheap_s.la libheap_common.la \ ++ @plugin_heap_embedded_static_target@ ++EXTRA_LTLIBRARIES =3D libheap_embedded.la ++ + noinst_PROGRAMS =3D hp_test1 hp_test2 +-noinst_LIBRARIES =3D libheap.a + hp_test1_LDFLAGS =3D @NOINST_LDFLAGS@ +-hp_test1_LDADD =3D libheap.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a ++hp_test1_LDADD =3D libheap.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la + hp_test2_LDFLAGS =3D @NOINST_LDFLAGS@ +-hp_test2_LDADD =3D libheap.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a ++hp_test2_LDADD =3D libheap.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la + noinst_HEADERS =3D heapdef.h ha_heap.h +-libheap_a_SOURCES =3D hp_open.c hp_extra.c hp_close.c hp_panic.c hp_inf= o.c \ ++libheap_common_la_SOURCES =3D hp_open.c hp_extra.c hp_close.c hp_panic.= c hp_info.c \ + hp_rrnd.c hp_scan.c hp_update.c hp_write.c hp_delete.c \ + hp_rsame.c hp_create.c hp_rename.c hp_rfirst.c \ + hp_rnext.c hp_rlast.c hp_rprev.c hp_clear.c \ + hp_rkey.c hp_block.c \ +- ha_heap.cc \ + hp_hash.c _check.c _rectest.c hp_static.c ++libheap_common_la_CFLAGS =3D $(AM_LDFLAGS) @plugin_static_if_no_embedde= d@ ++ ++libheap_s_la_SOURCES =3D ha_heap.cc ++libheap_s_la_CFLAGS =3D $(AM_CFLAGS) @plugin_static_if_no_embedded@ ++libheap_s_la_CXXFLAGS =3D $(AM_CXXFLAGS) @plugin_static_if_no_embedded@ ++libheap_s_la_LIBADD =3D libheap_common.la ++libheap_embedded_la_SOURCES =3D ha_heap.cc ++libheap_embedded_la_LIBADD =3D libheap_common.la ++libheap_embedded_la_CXXFLAGS =3D @plugin_embedded_defs@ ++libheap_la_SOURCES =3D=09 ++libheap_la_LIBADD =3D libheap_s.la ++libheap_la_LDFLAGS =3D -static +=20 +=20 + EXTRA_DIST =3D CMakeLists.txt plug.in +Index: storage/heap/plug.in +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/heap/plug.in.orig 2010-11-27 15:02:45.000000000 +0100 ++++ storage/heap/plug.in 2010-11-27 15:02:49.000000000 +0100 +@@ -1,7 +1,6 @@ + MYSQL_STORAGE_ENGINE(heap,no, [Memory Storage Engine], + [Volatile memory based tables]) + MYSQL_PLUGIN_DIRECTORY(heap, [storage/heap]) +-MYSQL_PLUGIN_STATIC(heap, [libheap.a]) ++MYSQL_PLUGIN_STATIC(heap, [libheap_s.la], [libheap_embedded.la]) + MYSQL_PLUGIN_MANDATORY(heap) dnl Memory tables +-MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS(heap, [ha_heap.cc]) +=20 +Index: storage/innobase/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/innobase/Makefile.am.orig 2010-11-27 15:02:45.000000000 +010= 0 ++++ storage/innobase/Makefile.am 2010-11-27 15:02:49.000000000 +0100 +@@ -15,21 +15,20 @@ +=20 + # Process this file with automake to create Makefile.in +=20 +-MYSQLDATAdir=3D $(localstatedir) +-MYSQLSHAREdir=3D $(pkgdatadir) +-MYSQLBASEdir=3D $(prefix) +-MYSQLLIBdir=3D $(pkglibdir) +-pkgplugindir=3D $(pkglibdir)/plugin +-INCLUDES=3D -I$(top_srcdir)/include -I$(top_builddir)/include \ ++MYSQLDATAdir =3D $(localstatedir) ++MYSQLSHAREdir =3D $(pkgdatadir) ++MYSQLBASEdir =3D $(prefix) ++MYSQLLIBdir =3D $(pkglibdir) ++pkgplugindir =3D $(pkglibdir)/plugin ++INCLUDES =3D -I$(top_srcdir)/include -I$(top_builddir)/include \ + -I$(top_srcdir)/regex \ + -I$(top_srcdir)/storage/innobase/include \ + -I$(top_srcdir)/sql \ + -I$(srcdir) +=20 +-DEFS=3D @DEFS@ ++DEFS=3D @DEFS@ +=20 +- +-noinst_HEADERS=3D include/btr0btr.h include/btr0btr.ic \ ++noinst_HEADERS =3D include/btr0btr.h include/btr0btr.ic \ + include/btr0cur.h include/btr0cur.ic \ + include/btr0pcur.h include/btr0pcur.ic \ + include/btr0sea.h include/btr0sea.ic \ +@@ -122,9 +121,8 @@ noinst_HEADERS=3D include/btr0btr.h inclu + include/ut0list.ic include/ut0wqueue.h \ + include/ha_prototypes.h handler/ha_innodb.h +=20 +-EXTRA_LIBRARIES=3D libinnobase.a +-noinst_LIBRARIES=3D @plugin_innobase_static_target@ +-libinnobase_a_SOURCES=3D btr/btr0btr.c btr/btr0cur.c btr/btr0pcur.c \ ++noinst_LTLIBRARIES =3D @plugin_innobase_static_target@ ++libinnobase_la_SOURCES =3D btr/btr0btr.c btr/btr0cur.c btr/btr0pcur.c \ + btr/btr0sea.c buf/buf0buf.c buf/buf0flu.c \ + buf/buf0lru.c buf/buf0rea.c data/data0data.c \ + data/data0type.c dict/dict0boot.c \ +@@ -156,18 +154,18 @@ libinnobase_a_SOURCES=3D btr/btr0btr.c btr + ut/ut0ut.c ut/ut0vec.c ut/ut0wqueue.c \ + handler/ha_innodb.cc +=20 +-libinnobase_a_CXXFLAGS=3D $(AM_CXXFLAGS) +-libinnobase_a_CFLAGS=3D $(AM_CFLAGS) ++libinnobase_la_CXXFLAGS =3D $(AM_CXXFLAGS) ++libinnobase_la_CFLAGS =3D $(AM_CFLAGS) +=20 +-EXTRA_LTLIBRARIES=3D ha_innodb.la +-pkgplugin_LTLIBRARIES=3D @plugin_innobase_shared_target@ ++EXTRA_LTLIBRARIES =3D libinnobase.la ha_innodb.la ++pkgplugin_LTLIBRARIES =3D @plugin_innobase_shared_target@ +=20 +-ha_innodb_la_LDFLAGS=3D -module -rpath $(pkgplugindir) +-ha_innodb_la_CXXFLAGS=3D $(AM_CXXFLAGS) $(INNODB_DYNAMIC_CFLAGS) +-ha_innodb_la_CFLAGS=3D $(AM_CFLAGS) $(INNODB_DYNAMIC_CFLAGS) +-ha_innodb_la_SOURCES=3D $(libinnobase_a_SOURCES) ++ha_innodb_la_LDFLAGS =3D -module -rpath $(pkgplugindir) ++ha_innodb_la_CXXFLAGS =3D $(AM_CXXFLAGS) $(INNODB_DYNAMIC_CFLAGS) ++ha_innodb_la_CFLAGS =3D $(AM_CFLAGS) $(INNODB_DYNAMIC_CFLAGS) ++ha_innodb_la_SOURCES =3D $(libinnobase_la_SOURCES) +=20 +-EXTRA_DIST=3D CMakeLists.txt plug.in \ ++EXTRA_DIST =3D CMakeLists.txt plug.in \ + pars/make_bison.sh pars/make_flex.sh \ + pars/pars0grm.y pars/pars0lex.l +=20 +Index: storage/innobase/plug.in +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/innobase/plug.in.orig 2010-11-27 15:02:45.000000000 +0100 ++++ storage/innobase/plug.in 2010-11-27 15:02:49.000000000 +0100 +@@ -1,7 +1,7 @@ + MYSQL_STORAGE_ENGINE(innobase, innodb, [InnoDB Storage Engine], + [Transactional Tables using InnoDB], [max,max-no-ndb]) + MYSQL_PLUGIN_DIRECTORY(innobase, [storage/innobase]) +-MYSQL_PLUGIN_STATIC(innobase, [libinnobase.a]) ++MYSQL_PLUGIN_STATIC(innobase, [libinnobase.la]) + MYSQL_PLUGIN_DYNAMIC(innobase, [ha_innodb.la]) + MYSQL_PLUGIN_ACTIONS(innobase, [ + AC_CHECK_LIB(rt, aio_read, [innodb_system_libs=3D"-lrt"]) +Index: storage/innodb_plugin/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/innodb_plugin/Makefile.am.orig 2010-11-27 15:02:45.000000000= +0100 ++++ storage/innodb_plugin/Makefile.am 2010-11-27 15:02:49.000000000 +010= 0 +@@ -228,9 +228,8 @@ noinst_HEADERS=3D \ + include/ut0wqueue.h \ + mem/mem0dbg.c +=20 +-EXTRA_LIBRARIES=3D libinnobase.a +-noinst_LIBRARIES=3D @plugin_innodb_plugin_static_target@ +-libinnobase_a_SOURCES=3D \ ++noinst_LTLIBRARIES=3D @plugin_innodb_plugin_static_target@ ++libinnobase_la_SOURCES=3D \ + btr/btr0btr.c \ + btr/btr0cur.c \ + btr/btr0pcur.c \ +@@ -325,16 +324,16 @@ libinnobase_a_SOURCES=3D \ + ut/ut0vec.c \ + ut/ut0wqueue.c +=20 +-libinnobase_a_CXXFLAGS=3D $(AM_CXXFLAGS) +-libinnobase_a_CFLAGS=3D $(AM_CFLAGS) ++libinnobase_la_CXXFLAGS=3D $(AM_CXXFLAGS) @plugin_static_if_no_embedded= @ ++libinnobase_la_CFLAGS=3D $(AM_CFLAGS) @plugin_static_if_no_embedded@ +=20 +-EXTRA_LTLIBRARIES=3D ha_innodb_plugin.la ++EXTRA_LTLIBRARIES=3D libinnobase.la ha_innodb_plugin.la + pkgplugin_LTLIBRARIES=3D @plugin_innodb_plugin_shared_target@ +=20 + ha_innodb_plugin_la_LDFLAGS=3D -module -rpath $(pkgplugindir) + ha_innodb_plugin_la_CXXFLAGS=3D $(AM_CXXFLAGS) $(INNODB_DYNAMIC_CFLAGS) + ha_innodb_plugin_la_CFLAGS=3D $(AM_CFLAGS) $(INNODB_DYNAMIC_CFLAGS) +-ha_innodb_plugin_la_SOURCES=3D $(libinnobase_a_SOURCES) ++ha_innodb_plugin_la_SOURCES=3D $(libinnobase_la_SOURCES) +=20 + EXTRA_DIST=3D CMakeLists.txt plug.in \ + pars/make_bison.sh pars/make_flex.sh \ +Index: storage/myisam/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/myisam/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ storage/myisam/Makefile.am 2010-11-27 19:44:01.000000000 +0100 +@@ -30,60 +30,63 @@ DEFS =3D @DEFS@ + EXTRA_DIST =3D mi_test_all.sh mi_test_all.res ft_stem.c CMakeLists.txt= plug.in + pkgdata_DATA =3D mi_test_all mi_test_all.res +=20 +-pkglib_LIBRARIES =3D libmyisam.a ++noinst_LTLIBRARIES =3D libmyisam.la libmyisam_common.la libmyisam_s.la = \ ++ @plugin_myisam_embedded_static_target@ ++EXTRA_LTLIBRARIES =3D libmyisam_embedded.la ++ + bin_PROGRAMS =3D myisamchk myisamlog myisampack myisam_ftdump +-myisamchk_DEPENDENCIES=3D $(LIBRARIES) +-myisamchk_LDADD=3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@ +-myisamlog_DEPENDENCIES=3D $(LIBRARIES) +-myisamlog_LDADD=3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@ +-myisampack_DEPENDENCIES=3D$(LIBRARIES) +-myisampack_LDADD=3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@ ++myisamchk_DEPENDENCIES=3D $(LTLIBRARIES) ++myisamchk_LDADD=3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la @ZLIB_LIBS@ ++myisamlog_DEPENDENCIES=3D $(LTLIBRARIES) ++myisamlog_LDADD=3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la @ZLIB_LIBS@ ++myisampack_DEPENDENCIES=3D$(LTLIBRARIES) ++myisampack_LDADD=3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la @ZLIB_LIBS@ + noinst_PROGRAMS =3D mi_test1 mi_test2 mi_test3 rt_test sp_test #ft_test= 1 ft_eval + noinst_HEADERS =3D myisamdef.h rt_index.h rt_key.h rt_mbr.h sp_defs.h \ + fulltext.h ftdefs.h ft_test1.h ft_eval.h \ + ha_myisam.h +-mi_test1_DEPENDENCIES=3D $(LIBRARIES) +-mi_test1_LDADD=3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@ +-mi_test2_DEPENDENCIES=3D $(LIBRARIES) +-mi_test2_LDADD=3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@ +-mi_test3_DEPENDENCIES=3D $(LIBRARIES) +-mi_test3_LDADD=3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@ +-#ft_test1_DEPENDENCIES=3D $(LIBRARIES) +-#ft_eval_DEPENDENCIES=3D $(LIBRARIES) +-myisam_ftdump_DEPENDENCIES=3D $(LIBRARIES) +-myisam_ftdump_LDADD =3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@ +-rt_test_DEPENDENCIES=3D $(LIBRARIES) +-rt_test_LDADD =3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@ +-sp_test_DEPENDENCIES=3D $(LIBRARIES) +-sp_test_LDADD =3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@ +-libmyisam_a_SOURCES =3D mi_open.c mi_extra.c mi_info.c mi_rkey.c \ ++mi_test1_DEPENDENCIES=3D $(LTLIBRARIES) ++mi_test1_LDADD=3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la @ZLIB_LIBS@ ++mi_test2_DEPENDENCIES=3D $(LTLIBRARIES) ++mi_test2_LDADD=3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la @ZLIB_LIBS@ ++mi_test3_DEPENDENCIES=3D $(LTLIBRARIES) ++mi_test3_LDADD=3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la @ZLIB_LIBS@ ++#ft_test1_DEPENDENCIES=3D $(LTLIBRARIES) ++#ft_eval_DEPENDENCIES=3D $(LTLIBRARIES) ++myisam_ftdump_DEPENDENCIES=3D $(LTLIBRARIES) ++myisam_ftdump_LDADD =3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la @ZLIB_LIBS@ ++rt_test_DEPENDENCIES=3D $(LTLIBRARIES) ++rt_test_LDADD =3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la @ZLIB_LIBS@ ++sp_test_DEPENDENCIES=3D $(LTLIBRARIES) ++sp_test_LDADD =3D @CLIENT_EXTRA_LDFLAGS@ libmyisam.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la @ZLIB_LIBS@ ++libmyisam_common_la_SOURCES =3D mi_open.c mi_extra.c mi_info.c mi_rkey.= c \ + mi_rnext.c mi_rnext_same.c \ + mi_search.c mi_page.c mi_key.c mi_locking.c \ + mi_rrnd.c mi_scan.c mi_cache.c \ +@@ -98,8 +101,23 @@ libmyisam_a_SOURCES =3D mi_open.c mi_extra + mi_keycache.c mi_preload.c \ + ft_parser.c ft_stopwords.c ft_static.c \ + ft_update.c ft_boolean_search.c ft_nlq_search.c sort.c \ +- ha_myisam.cc \ + rt_index.c rt_key.c rt_mbr.c rt_split.c sp_key.c ++libmyisam_common_la_CFLAGS =3D $(AM_CFLAGS) @plugin_static_if_no_embedd= ed@ ++libmyisam_s_la_SOURCES =3D ha_myisam.cc ++libmyisam_s_la_CXXFLAGS =3D $(AM_CXXFLAGS) @plugin_static_if_no_embedde= d@ ++libmyisam_s_la_LIBADD =3D libmyisam_common.la ++libmyisam_embedded_la_SOURCES =3D ha_myisam.cc ++libmyisam_embedded_la_LIBADD =3D libmyisam_common.la ++libmyisam_embedded_la_CXXFLAGS =3D $(AM_CXXFLAGS) @plugin_embedded_defs= @ ++# libmyisam references symbols inside mysqld. ++# This means we cannot use it as shared library, as these references ca= uses ++# undefined symbol errors at load time. ++# But a static library works (as long as those parts that references ++# problematic symbols are not linked). ++libmyisam_la_LDFLAGS =3D -static ++libmyisam_la_SOURCES =3D=20 ++libmyisam_la_LIBADD =3D libmyisam_s.la ++ + CLEANFILES =3D test?.MY? FT?.MY? isam.log mi_test_all rt_test.MY? sp_t= est.MY? +=20 + # Move to automake rules ? +Index: storage/myisam/plug.in +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/myisam/plug.in.orig 2010-11-27 15:02:45.000000000 +0100 ++++ storage/myisam/plug.in 2010-11-27 15:02:49.000000000 +0100 +@@ -1,7 +1,5 @@ + MYSQL_STORAGE_ENGINE(myisam,no, [MyISAM Storage Engine], + [Traditional non-transactional MySQL tables]) + MYSQL_PLUGIN_DIRECTORY(myisam, [storage/myisam]) +-MYSQL_PLUGIN_STATIC(myisam, [libmyisam.a]) ++MYSQL_PLUGIN_STATIC(myisam, [libmyisam_s.la], [libmyisam_embedded.l= a]) + MYSQL_PLUGIN_MANDATORY(myisam) dnl Default +-MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS(myisam, [ha_myisam.cc]) +- +Index: storage/myisammrg/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/myisammrg/Makefile.am.orig 2010-11-27 15:02:45.000000000 +01= 00 ++++ storage/myisammrg/Makefile.am 2010-11-27 19:43:39.000000000 +0100 +@@ -26,16 +26,28 @@ WRAPLIBS=3D + LDADD =3D +=20 + DEFS =3D @DEFS@ +-pkglib_LIBRARIES =3D libmyisammrg.a ++noinst_LTLIBRARIES =3D libmyisammrg.la libmyisammrg_s.la libmyisammrg_c= ommon.la \ ++ @plugin_myisammrg_embedded_static_target@ ++EXTRA_LTLIBRARIES =3D libmyisammrg_embedded.la + noinst_HEADERS =3D myrg_def.h ha_myisammrg.h +-noinst_LIBRARIES =3D libmyisammrg.a +-libmyisammrg_a_SOURCES =3D myrg_open.c myrg_extra.c myrg_info.c myrg_lo= cking.c \ ++libmyisammrg_common_la_SOURCES =3D myrg_open.c myrg_extra.c myrg_info.c= myrg_locking.c \ + myrg_rrnd.c myrg_update.c myrg_delete.c myrg_rsame.c \ + myrg_panic.c myrg_close.c myrg_create.c myrg_static.c \ + myrg_rkey.c myrg_rfirst.c myrg_rlast.c myrg_rnext.c \ + myrg_rprev.c myrg_queue.c myrg_write.c myrg_range.c \ +- ha_myisammrg.cc \ + myrg_rnext_same.c myrg_records.c ++libmyisammrg_common_la_CFLAGS =3D $(AM_CFLAGS) @plugin_static_if_no_emb= edded@ ++libmyisammrg_s_la_SOURCES =3D ha_myisammrg.cc ++libmyisammrg_s_la_CXXFLAGS =3D $(AM_CXXFLAGS) @plugin_static_if_no_embe= dded@ ++libmyisammrg_s_la_LIBADD =3D libmyisammrg_common.la ++libmyisammrg_embedded_la_SOURCES =3D ha_myisammrg.cc ++libmyisammrg_embedded_la_CFLAGS =3D $(AM_CFLAGS) @plugin_embedded_defs@ ++libmyisammrg_embedded_la_LIBADD =3D libmyisammrg_common.la ++libmyisammrg_embedded_la_CXXFLAGS =3D $(AM_CXXFLAGS) @plugin_embedded_d= efs@ ++libmyisammrg_la_SOURCES =3D=09 ++libmyisammrg_la_LIBADD =3D libmyisammrg_s.la ++libmyisammrg_la_LDFLAGS =3D -static ++ +=20 +=20 + EXTRA_DIST =3D CMakeLists.txt plug.in +Index: storage/myisammrg/plug.in +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/myisammrg/plug.in.orig 2010-11-27 15:02:45.000000000 +0100 ++++ storage/myisammrg/plug.in 2010-11-27 15:02:49.000000000 +0100 +@@ -1,6 +1,5 @@ + MYSQL_STORAGE_ENGINE(myisammrg,no,[MyISAM MERGE Engine], + [Merge multiple MySQL tables into one]) + MYSQL_PLUGIN_DIRECTORY(myisammrg,[storage/myisammrg]) +-MYSQL_PLUGIN_STATIC(myisammrg, [libmyisammrg.a]) ++MYSQL_PLUGIN_STATIC(myisammrg, [libmyisammrg_s.la], [libmyisammrg_embe= dded.la]) + MYSQL_PLUGIN_MANDATORY(myisammrg) +-MYSQL_PLUGIN_DEPENDS_ON_MYSQL_INTERNALS(myisammrg, [ha_myisammrg.cc]) +Index: storage/ndb/src/common/util/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/src/common/util/Makefile.am.orig 2010-11-27 15:02:45.000= 000000 +0100 ++++ storage/ndb/src/common/util/Makefile.am 2010-11-27 15:02:49.00000000= 0 +0100 +@@ -31,9 +31,9 @@ EXTRA_PROGRAMS =3D testBitmask + testBitmask_SOURCES =3D testBitmask.cpp + testBitmask_LDFLAGS =3D @ndb_bin_am_ldflags@ \ + $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la +=20 + testBitmask.cpp : Bitmask.cpp + rm -f testBitmask.cpp +Index: storage/ndb/config/type_ndbapitest.mk.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/config/type_ndbapitest.mk.am.orig 2010-11-27 15:02:45.00= 0000000 +0100 ++++ storage/ndb/config/type_ndbapitest.mk.am 2010-11-27 15:02:49.0000000= 00 +0100 +@@ -13,19 +13,20 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301= USA +=20 +-LDADD +=3D $(top_builddir)/storage/ndb/test/src/libNDBT.a \ +- $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@ ++LDADD +=3D $(top_builddir)/storage/ndb/test/src/libNDBT.a \ ++ $(top_builddir)/storage/ndb/src/libndbclient.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la @NDB_SCI_LIBS@ \ ++ $(ZLIB_LIBS) +=20 +-INCLUDES +=3D -I$(top_srcdir) \ +- -I$(top_builddir)/include \ +- -I$(top_builddir)/storage/ndb/include \ +- -I$(top_srcdir)/include \ +- -I$(top_srcdir)/storage/ndb/include \ +- -I$(top_srcdir)/storage/ndb/include/ndbapi \ +- -I$(top_srcdir)/storage/ndb/include/util \ +- -I$(top_srcdir)/storage/ndb/include/portlib \ +- -I$(top_srcdir)/storage/ndb/test/include \ +- -I$(top_srcdir)/storage/ndb/include/mgmapi ++INCLUDES +=3D -I$(top_srcdir) \ ++ -I$(top_builddir)/include \ ++ -I$(top_builddir)/storage/ndb/include \ ++ -I$(top_srcdir)/include \ ++ -I$(top_srcdir)/storage/ndb/include \ ++ -I$(top_srcdir)/storage/ndb/include/ndbapi \ ++ -I$(top_srcdir)/storage/ndb/include/util \ ++ -I$(top_srcdir)/storage/ndb/include/portlib \ ++ -I$(top_srcdir)/storage/ndb/test/include \ ++ -I$(top_srcdir)/storage/ndb/include/mgmapi +Index: storage/ndb/config/type_ndbapitools.mk.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/config/type_ndbapitools.mk.am.orig 2010-11-27 15:02:45.0= 00000000 +0100 ++++ storage/ndb/config/type_ndbapitools.mk.am 2010-11-27 15:02:49.000000= 000 +0100 +@@ -13,20 +13,21 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301= USA +=20 +-LDADD +=3D \ +- $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@ @ZLIB_LI= BS@ ++LDADD +=3D \ ++ $(top_builddir)/storage/ndb/src/libndbclient.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la @NDB_SCI_LIBS@ \ ++ $(ZLIB_LIBS) +=20 +-INCLUDES +=3D -I$(srcdir) \ +- -I$(top_builddir)/include \ +- -I$(top_builddir)/storage/ndb/include \ +- -I$(top_srcdir)/include \ +- -I$(top_srcdir)/storage/ndb/include \ +- -I$(top_srcdir)/storage/ndb/include/ndbapi \ +- -I$(top_srcdir)/storage/ndb/include/util \ +- -I$(top_srcdir)/storage/ndb/include/portlib \ +- -I$(top_srcdir)/storage/ndb/test/include \ +- -I$(top_srcdir)/storage/ndb/include/mgmapi \ +- -I$(top_srcdir)/storage/ndb/include/kernel ++INCLUDES +=3D -I$(srcdir) \ ++ -I$(top_builddir)/include \ ++ -I$(top_builddir)/storage/ndb/include \ ++ -I$(top_srcdir)/include \ ++ -I$(top_srcdir)/storage/ndb/include \ ++ -I$(top_srcdir)/storage/ndb/include/ndbapi \ ++ -I$(top_srcdir)/storage/ndb/include/util \ ++ -I$(top_srcdir)/storage/ndb/include/portlib \ ++ -I$(top_srcdir)/storage/ndb/test/include \ ++ -I$(top_srcdir)/storage/ndb/include/mgmapi \ ++ -I$(top_srcdir)/storage/ndb/include/kernel +Index: storage/ndb/config/win-libraries +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/config/win-libraries.orig 2010-11-27 15:02:45.000000000 = +0100 ++++ storage/ndb/config/win-libraries 2010-11-27 15:02:49.000000000 +0100 +@@ -21,7 +21,7 @@ do + # the same goes for mysys and strings + lib=3D$i + case $i in +- *libdbug.a | *libmysys.a | *libmystrings.a)=20 ++ *libdbug.la | *libmysys.la | *libmystrings.la)=20 + lib=3D`echo $i | sed s'!dbug\/lib!!' | sed 's!mysys\/lib!!' | sed 's!= strings\/libmy!!'` + echo "Changing from $i to $lib" + ;; +Index: storage/ndb/src/cw/cpcd/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/src/cw/cpcd/Makefile.am.orig 2010-11-27 15:02:45.0000000= 00 +0100 ++++ storage/ndb/src/cw/cpcd/Makefile.am 2010-11-27 15:02:49.000000000 +0= 100 +@@ -19,9 +19,9 @@ ndb_cpcd_SOURCES =3D main.cpp CPCD.cpp Pro +=20 + LDADD_LOC =3D \ + $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la @NDB_SCI_LIBS@ +=20 + include $(top_srcdir)/storage/ndb/config/common.mk.am + include $(top_srcdir)/storage/ndb/config/type_util.mk.am +Index: storage/ndb/src/kernel/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/src/kernel/Makefile.am.orig 2010-11-27 15:02:45.00000000= 0 +0100 ++++ storage/ndb/src/kernel/Makefile.am 2010-11-27 15:02:49.000000000 +01= 00 +@@ -53,9 +53,10 @@ LDADD +=3D \ + $(top_builddir)/storage/ndb/src/mgmapi/libmgmapi.la \ + $(top_builddir)/storage/ndb/src/common/portlib/libportlib= .la \ + $(top_builddir)/storage/ndb/src/common/util/libgeneral.la= \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la @NDB_SCI_LIBS@ \ ++ $(ZLIB_LIBS) +=20 + windoze-dsp: ndbd.dsp +=20 +Index: storage/ndb/src/kernel/blocks/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/src/kernel/blocks/Makefile.am.orig 2010-11-27 15:02:45.0= 00000000 +0100 ++++ storage/ndb/src/kernel/blocks/Makefile.am 2010-11-27 15:02:49.000000= 000 +0100 +@@ -18,7 +18,7 @@ SUBDIRS =3D \ + dbdih \ + dblqh \ + dbtup \ +- backup =20 ++ backup =20 +=20 + noinst_LIBRARIES =3D libblocks.a +=20 +@@ -56,10 +56,10 @@ libblocks_a_SOURCES =3D tsman.cpp lgman.cp + EXTRA_PROGRAMS =3D ndb_print_file + ndb_print_file_SOURCES =3D print_file.cpp diskpage.cpp dbtup/tuppage.cp= p + ndb_print_file_LDFLAGS =3D @ndb_bin_am_ldflags@ \ +- $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a ++ $(top_builddir)/storage/ndb/src/libndbclient.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la +=20 + include $(top_srcdir)/storage/ndb/config/common.mk.am + include $(top_srcdir)/storage/ndb/config/type_kernel.mk.am +Index: storage/ndb/src/kernel/blocks/backup/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/src/kernel/blocks/backup/Makefile.am.orig 2010-11-27 15:= 02:45.000000000 +0100 ++++ storage/ndb/src/kernel/blocks/backup/Makefile.am 2010-11-27 15:02:49= .000000000 +0100 +@@ -17,9 +17,9 @@ ndbtools_PROGRAMS =3D ndb_print_backup_fil + ndb_print_backup_file_SOURCES =3D read.cpp + ndb_print_backup_file_LDFLAGS =3D @ndb_bin_am_ldflags@ \ + $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la +=20 + include $(top_srcdir)/storage/ndb/config/common.mk.am + include $(top_srcdir)/storage/ndb/config/type_kernel.mk.am +Index: storage/ndb/src/kernel/blocks/dbdict/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/src/kernel/blocks/dbdict/Makefile.am.orig 2010-11-27 15:= 02:45.000000000 +0100 ++++ storage/ndb/src/kernel/blocks/dbdict/Makefile.am 2010-11-27 15:02:49= .000000000 +0100 +@@ -19,17 +19,17 @@ include $(top_srcdir)/storage/ndb/config + LDADD +=3D \ + $(top_builddir)/storage/ndb/src/common/util/libgeneral.la \ + $(top_builddir)/storage/ndb/src/common/portlib/libportlib.la \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la +=20 + ndbtools_PROGRAMS =3D ndb_print_schema_file + ndb_print_schema_file_SOURCES =3D printSchemaFile.cpp + ndb_print_schema_file_LDFLAGS =3D @ndb_bin_am_ldflags@ \ + $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la +=20 + # Don't update the files from bitkeeper + %::SCCS/s.% +Index: storage/ndb/src/kernel/blocks/dbdih/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/src/kernel/blocks/dbdih/Makefile.am.orig 2010-11-27 15:0= 2:45.000000000 +0100 ++++ storage/ndb/src/kernel/blocks/dbdih/Makefile.am 2010-11-27 15:02:49.= 000000000 +0100 +@@ -17,9 +17,9 @@ ndbtools_PROGRAMS =3D ndb_print_sys_file + ndb_print_sys_file_SOURCES =3D printSysfile.cpp + ndb_print_sys_file_LDFLAGS =3D @ndb_bin_am_ldflags@ \ + $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la +=20 +=20 + include $(top_srcdir)/storage/ndb/config/common.mk.am +Index: storage/ndb/src/kernel/blocks/dblqh/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/src/kernel/blocks/dblqh/Makefile.am.orig 2010-11-27 15:0= 2:45.000000000 +0100 ++++ storage/ndb/src/kernel/blocks/dblqh/Makefile.am 2010-11-27 15:02:49.= 000000000 +0100 +@@ -23,9 +23,9 @@ include $(top_srcdir)/storage/ndb/config +=20 + ndbd_redo_log_reader_LDFLAGS =3D @ndb_bin_am_ldflags@ \ + $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la +=20 + # Don't update the files from bitkeeper + %::SCCS/s.% +Index: storage/ndb/src/kernel/blocks/dbtup/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/src/kernel/blocks/dbtup/Makefile.am.orig 2010-11-27 15:0= 2:45.000000000 +0100 ++++ storage/ndb/src/kernel/blocks/dbtup/Makefile.am 2010-11-27 15:02:49.= 000000000 +0100 +@@ -20,9 +20,9 @@ EXTRA_PROGRAMS =3D test_varpage + test_varpage_SOURCES =3D test_varpage.cpp tuppage.cpp + test_varpage_LDFLAGS =3D @ndb_bin_am_ldflags@ \ + $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la +=20 + # Don't update the files from bitkeeper + %::SCCS/s.% +Index: storage/ndb/src/kernel/vm/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/src/kernel/vm/Makefile.am.orig 2010-11-27 15:02:45.00000= 0000 +0100 ++++ storage/ndb/src/kernel/vm/Makefile.am 2010-11-27 15:02:49.000000000 = +0100 +@@ -21,22 +21,22 @@ + noinst_LIBRARIES =3D libkernel.a +=20 + libkernel_a_SOURCES =3D \ +- SimulatedBlock.cpp \ +- FastScheduler.cpp \ +- TimeQueue.cpp \ +- VMSignal.cpp \ +- ThreadConfig.cpp \ +- TransporterCallback.cpp \ +- Emulator.cpp \ +- Configuration.cpp \ +- WatchDog.cpp \ +- SimplePropertiesSection.cpp \ +- SectionReader.cpp \ +- Mutex.cpp SafeCounter.cpp \ +- Rope.cpp \ +- ndbd_malloc.cpp ndbd_malloc_impl.cpp \ +- Pool.cpp WOPool.cpp RWPool.cpp \ +- DynArr256.cpp ++ SimulatedBlock.cpp \ ++ FastScheduler.cpp \ ++ TimeQueue.cpp \ ++ VMSignal.cpp \ ++ ThreadConfig.cpp \ ++ TransporterCallback.cpp \ ++ Emulator.cpp \ ++ Configuration.cpp \ ++ WatchDog.cpp \ ++ SimplePropertiesSection.cpp \ ++ SectionReader.cpp \ ++ Mutex.cpp SafeCounter.cpp \ ++ Rope.cpp \ ++ ndbd_malloc.cpp ndbd_malloc_impl.cpp \ ++ Pool.cpp WOPool.cpp RWPool.cpp \ ++ DynArr256.cpp +=20 + INCLUDES_LOC =3D -I$(top_srcdir)/storage/ndb/src/mgmapi +=20 +@@ -49,40 +49,40 @@ include $(top_srcdir)/storage/ndb/config + windoze-dsp: libkernel.dsp +=20 + libkernel.dsp: Makefile \ +- $(top_srcdir)/storage/ndb/config/win-lib.am \ +- $(top_srcdir)/storage/ndb/config/win-name \ +- $(top_srcdir)/storage/ndb/config/win-includes \ +- $(top_srcdir)/storage/ndb/config/win-sources \ +- $(top_srcdir)/storage/ndb/config/win-libraries +- cat $(top_srcdir)/storage/ndb/config/win-lib.am > $@ +- @$(top_srcdir)/storage/ndb/config/win-name $@ $(noinst_LIBRARIES) +- @$(top_srcdir)/storage/ndb/config/win-includes $@ $(INCLUDES) +- @$(top_srcdir)/storage/ndb/config/win-sources $@ $(libkernel_a_SOURCES= ) +- @$(top_srcdir)/storage/ndb/config/win-libraries $@ LIB $(LDADD) ++ $(top_srcdir)/storage/ndb/config/win-lib.am \ ++ $(top_srcdir)/storage/ndb/config/win-name \ ++ $(top_srcdir)/storage/ndb/config/win-includes \ ++ $(top_srcdir)/storage/ndb/config/win-sources \ ++ $(top_srcdir)/storage/ndb/config/win-libraries ++ cat $(top_srcdir)/storage/ndb/config/win-lib.am > $@ ++ @$(top_srcdir)/storage/ndb/config/win-name $@ $(noinst_LIBRARIES) ++ @$(top_srcdir)/storage/ndb/config/win-includes $@ $(INCLUDES) ++ @$(top_srcdir)/storage/ndb/config/win-sources $@ $(libkernel_a_SOURCE= S) ++ @$(top_srcdir)/storage/ndb/config/win-libraries $@ LIB $(LDADD) +=20 + EXTRA_PROGRAMS =3D ndbd_malloc_impl_test bench_pool testDynArr256 + ndbd_malloc_impl_test_CXXFLAGS =3D -DUNIT_TEST + ndbd_malloc_impl_test_SOURCES =3D ndbd_malloc_impl.cpp + ndbd_malloc_impl_test_LDFLAGS =3D @ndb_bin_am_ldflags@ \ +- $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a ++ $(top_builddir)/storage/ndb/src/libndbclient.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la +=20 + bench_pool_SOURCES =3D bench_pool.cpp +-bench_pool_LDFLAGS =3D @ndb_bin_am_ldflags@\ +- libkernel.a ../error/liberror.a \ +- $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a ++bench_pool_LDFLAGS =3D @ndb_bin_am_ldflags@ \ ++ libkernel.a ../error/liberror.a \ ++ $(top_builddir)/storage/ndb/src/libndbclient.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la +=20 + testDynArr256_CXXFLAGS =3D -DUNIT_TEST + testDynArr256_SOURCES =3D DynArr256.cpp + testDynArr256_LDFLAGS =3D @ndb_bin_am_ldflags@ \ +- libkernel.a ../error/liberror.a \ +- $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a ++ libkernel.a ../error/liberror.a \ ++ $(top_builddir)/storage/ndb/src/libndbclient.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la +=20 +Index: storage/ndb/src/mgmclient/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/src/mgmclient/Makefile.am.orig 2010-11-27 15:02:45.00000= 0000 +0100 ++++ storage/ndb/src/mgmclient/Makefile.am 2010-11-27 15:02:49.000000000 = +0100 +@@ -18,12 +18,11 @@ ndbtools_PROGRAMS =3D ndb_mgm +=20 + libndbmgmclient_la_SOURCES =3D CommandInterpreter.cpp + libndbmgmclient_la_LIBADD =3D ../mgmapi/libmgmapi.la \ +- ../common/logger/liblogger.la \ +- ../common/portlib/libportlib.la \ +- ../common/util/libgeneral.la \ +- ../common/portlib/libportlib.la \ +- ../common/debugger/libtrace.la +- ++ ../common/logger/liblogger.la \ ++ ../common/portlib/libportlib.la \ ++ ../common/util/libgeneral.la \ ++ ../common/portlib/libportlib.la \ ++ ../common/debugger/libtrace.la +=20 + ndb_mgm_SOURCES =3D main.cpp +=20 +@@ -34,13 +33,13 @@ INCLUDES +=3D -I$(top_srcdir)/storage/ndb/ + -I$(top_srcdir)/storage/ndb/src/common/mgmcommon +=20 + LDADD_LOC =3D $(noinst_LTLIBRARIES) \ +- ../common/portlib/libportlib.la \ +- @readline_link@ \ +- $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a \ +- @TERMCAP_LIB@ @NDB_SCI_LIBS@ ++ ../common/portlib/libportlib.la \ ++ @readline_link@ \ ++ $(top_builddir)/storage/ndb/src/libndbclient.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la \ ++ @TERMCAP_LIB@ @NDB_SCI_LIBS@ +=20 + ndb_mgm_LDFLAGS =3D @ndb_bin_am_ldflags@ +=20 +@@ -50,25 +49,25 @@ ndb_mgm_LDFLAGS =3D @ndb_bin_am_ldflags@ + windoze-dsp: ndb_mgm.dsp libndbmgmclient.dsp +=20 + ndb_mgm.dsp: Makefile \ +- $(top_srcdir)/storage/ndb/config/win-prg.am \ +- $(top_srcdir)/storage/ndb/config/win-name \ +- $(top_srcdir)/storage/ndb/config/win-includes \ +- $(top_srcdir)/storage/ndb/config/win-sources \ +- $(top_srcdir)/storage/ndb/config/win-libraries +- cat $(top_srcdir)/storage/ndb/config/win-prg.am > $@ +- @$(top_srcdir)/storage/ndb/config/win-name $@ $(ndbtools_PROGRAMS) +- @$(top_srcdir)/storage/ndb/config/win-includes $@ $(INCLUDES) +- @$(top_srcdir)/storage/ndb/config/win-sources $@ $(ndb_mgm_SOURCES) +- @$(top_srcdir)/storage/ndb/config/win-libraries $@ LINK $(LDADD) ++ $(top_srcdir)/storage/ndb/config/win-prg.am \ ++ $(top_srcdir)/storage/ndb/config/win-name \ ++ $(top_srcdir)/storage/ndb/config/win-includes \ ++ $(top_srcdir)/storage/ndb/config/win-sources \ ++ $(top_srcdir)/storage/ndb/config/win-libraries ++ cat $(top_srcdir)/storage/ndb/config/win-prg.am > $@ ++ @$(top_srcdir)/storage/ndb/config/win-name $@ $(ndbtools_PROGRAMS) ++ @$(top_srcdir)/storage/ndb/config/win-includes $@ $(INCLUDES) ++ @$(top_srcdir)/storage/ndb/config/win-sources $@ $(ndb_mgm_SOURCES) ++ @$(top_srcdir)/storage/ndb/config/win-libraries $@ LINK $(LDADD) +=20 + libndbmgmclient.dsp: Makefile \ +- $(top_srcdir)/storage/ndb/config/win-lib.am \ +- $(top_srcdir)/storage/ndb/config/win-name \ +- $(top_srcdir)/storage/ndb/config/win-includes \ +- $(top_srcdir)/storage/ndb/config/win-sources \ +- $(top_srcdir)/storage/ndb/config/win-libraries +- cat $(top_srcdir)/storage/ndb/config/win-lib.am > $@ +- @$(top_srcdir)/storage/ndb/config/win-name $@ $(noinst_LTLIBRARIES) +- @$(top_srcdir)/storage/ndb/config/win-includes $@ $(INCLUDES) +- @$(top_srcdir)/storage/ndb/config/win-sources $@ $(libndbmgmclient_la_= SOURCES) +- @$(top_srcdir)/storage/ndb/config/win-libraries $@ LIB ++ $(top_srcdir)/storage/ndb/config/win-lib.am \ ++ $(top_srcdir)/storage/ndb/config/win-name \ ++ $(top_srcdir)/storage/ndb/config/win-includes \ ++ $(top_srcdir)/storage/ndb/config/win-sources \ ++ $(top_srcdir)/storage/ndb/config/win-libraries ++ cat $(top_srcdir)/storage/ndb/config/win-lib.am > $@ ++ @$(top_srcdir)/storage/ndb/config/win-name $@ $(noinst_LTLIBRARIES) ++ @$(top_srcdir)/storage/ndb/config/win-includes $@ $(INCLUDES) ++ @$(top_srcdir)/storage/ndb/config/win-sources $@ $(libndbmgmclient_la= _SOURCES) ++ @$(top_srcdir)/storage/ndb/config/win-libraries $@ LIB +Index: storage/ndb/src/mgmsrv/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/src/mgmsrv/Makefile.am.orig 2010-11-27 15:02:45.00000000= 0 +0100 ++++ storage/ndb/src/mgmsrv/Makefile.am 2010-11-27 15:02:49.000000000 +01= 00 +@@ -22,35 +22,35 @@ MYSQLCLUSTERdir=3D . + ndbbin_PROGRAMS =3D ndb_mgmd +=20 + ndb_mgmd_SOURCES =3D \ +- MgmtSrvr.cpp \ +- MgmtSrvrGeneralSignalHandling.cpp \ +- main.cpp \ +- Services.cpp \ +- convertStrToInt.cpp \ +- SignalQueue.cpp \ +- MgmtSrvrConfig.cpp \ +- ConfigInfo.cpp \ +- InitConfigFileParser.cpp \ +- Config.cpp ++ MgmtSrvr.cpp \ ++ MgmtSrvrGeneralSignalHandling.cpp \ ++ main.cpp \ ++ Services.cpp \ ++ convertStrToInt.cpp \ ++ SignalQueue.cpp \ ++ MgmtSrvrConfig.cpp \ ++ ConfigInfo.cpp \ ++ InitConfigFileParser.cpp \ ++ Config.cpp +=20 + INCLUDES_LOC =3D -I$(top_srcdir)/storage/ndb/src/ndbapi \ +- -I$(top_srcdir)/storage/ndb/src/mgmapi \ +- -I$(top_srcdir)/storage/ndb/src/common/mgmcommon \ +- -I$(top_srcdir)/storage/ndb/src/mgmclient ++ -I$(top_srcdir)/storage/ndb/src/mgmapi \ ++ -I$(top_srcdir)/storage/ndb/src/common/mgmcommon \ ++ -I$(top_srcdir)/storage/ndb/src/mgmclient +=20 + LDADD_LOC =3D $(top_builddir)/storage/ndb/src/mgmclient/CommandInterpre= ter.lo \ +- $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a \ +- @readline_link@ \ +- @NDB_SCI_LIBS@ \ +- @TERMCAP_LIB@ +- +-DEFS_LOC =3D -DDEFAULT_MYSQL_HOME=3D"\"$(MYSQLBASEdir)\"" \ +- -DMYSQL_DATADIR=3D"\"$(MYSQLDATAdir)\"" \ +- -DSHAREDIR=3D"\"$(MYSQLSHAREdir)\"" \ +- -DMYSQLCLUSTERDIR=3D"\"$(MYSQLCLUSTERdir)\"" ++ $(top_builddir)/storage/ndb/src/libndbclient.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la \ ++ @readline_link@ \ ++ @NDB_SCI_LIBS@ \ ++ @TERMCAP_LIB@ ++ ++DEFS_LOC =3D -DDEFAULT_MYSQL_HOME=3D"\"$(MYSQLBASEdir)\"" \ ++ -DMYSQL_DATADIR=3D"\"$(MYSQLDATAdir)\"" \ ++ -DSHAREDIR=3D"\"$(MYSQLSHAREdir)\"" \ ++ -DMYSQLCLUSTERDIR=3D"\"$(MYSQLCLUSTERdir)\"" +=20 + include $(top_srcdir)/storage/ndb/config/common.mk.am + include $(top_srcdir)/storage/ndb/config/type_ndbapi.mk.am +@@ -63,13 +63,13 @@ ndb_mgmd_LDFLAGS =3D @ndb_bin_am_ldflags@ + windoze-dsp: ndb_mgmd.dsp +=20 + ndb_mgmd.dsp: Makefile \ +- $(top_srcdir)/storage/ndb/config/win-prg.am \ +- $(top_srcdir)/storage/ndb/config/win-name \ +- $(top_srcdir)/storage/ndb/config/win-includes \ +- $(top_srcdir)/storage/ndb/config/win-sources \ +- $(top_srcdir)/storage/ndb/config/win-libraries +- cat $(top_srcdir)/storage/ndb/config/win-prg.am > $@ +- @$(top_srcdir)/storage/ndb/config/win-name $@ $(ndbbin_PROGRAMS) +- @$(top_srcdir)/storage/ndb/config/win-includes $@ $(INCLUDES) +- @$(top_srcdir)/storage/ndb/config/win-sources $@ $(ndb_mgmd_SOURCES) +- @$(top_srcdir)/storage/ndb/config/win-libraries $@ LINK $(LDADD) ++ $(top_srcdir)/storage/ndb/config/win-prg.am \ ++ $(top_srcdir)/storage/ndb/config/win-name \ ++ $(top_srcdir)/storage/ndb/config/win-includes \ ++ $(top_srcdir)/storage/ndb/config/win-sources \ ++ $(top_srcdir)/storage/ndb/config/win-libraries ++ cat $(top_srcdir)/storage/ndb/config/win-prg.am > $@ ++ @$(top_srcdir)/storage/ndb/config/win-name $@ $(ndbbin_PROGRAMS) ++ @$(top_srcdir)/storage/ndb/config/win-includes $@ $(INCLUDES) ++ @$(top_srcdir)/storage/ndb/config/win-sources $@ $(ndb_mgmd_SOURCES) ++ @$(top_srcdir)/storage/ndb/config/win-libraries $@ LINK $(LDADD) +Index: storage/ndb/src/ndbapi/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/src/ndbapi/Makefile.am.orig 2010-11-27 15:02:45.00000000= 0 +0100 ++++ storage/ndb/src/ndbapi/Makefile.am 2010-11-27 15:02:49.000000000 +01= 00 +@@ -22,41 +22,42 @@ ndberror_check_SOURCES =3D ndberror_check. + noinst_LTLIBRARIES =3D libndbapi.la +=20 + libndbapi_la_SOURCES =3D \ +- TransporterFacade.cpp \ +- ClusterMgr.cpp \ +- Ndb.cpp \ +- NdbPoolImpl.cpp \ +- NdbPool.cpp \ +- Ndblist.cpp \ +- Ndbif.cpp \ +- Ndbinit.cpp \ +- Ndberr.cpp \ +- ndberror.c \ +- NdbErrorOut.cpp \ +- NdbTransaction.cpp \ +- NdbTransactionScan.cpp \ +- NdbOperation.cpp \ +- NdbOperationSearch.cpp \ +- NdbOperationScan.cpp \ +- NdbOperationInt.cpp \ +- NdbOperationDefine.cpp \ +- NdbOperationExec.cpp \ +- NdbScanOperation.cpp NdbScanFilter.cpp \ +- NdbIndexOperation.cpp \ +- NdbEventOperation.cpp \ +- NdbEventOperationImpl.cpp \ +- NdbApiSignal.cpp \ +- NdbRecAttr.cpp \ +- NdbUtil.cpp \ +- NdbReceiver.cpp \ +- NdbDictionary.cpp \ +- NdbDictionaryImpl.cpp \ +- DictCache.cpp \ +- ndb_cluster_connection.cpp \ +- NdbBlob.cpp \ +- NdbIndexStat.cpp \ +- SignalSender.cpp \ +- ObjectMap.cpp ++ TransporterFacade.cpp \ ++ ClusterMgr.cpp \ ++ Ndb.cpp \ ++ NdbPoolImpl.cpp \ ++ NdbPool.cpp \ ++ Ndblist.cpp \ ++ Ndbif.cpp \ ++ Ndbinit.cpp \ ++ Ndberr.cpp \ ++ ndberror.c \ ++ NdbErrorOut.cpp \ ++ NdbTransaction.cpp \ ++ NdbTransactionScan.cpp \ ++ NdbOperation.cpp \ ++ NdbOperationSearch.cpp \ ++ NdbOperationScan.cpp \ ++ NdbOperationInt.cpp \ ++ NdbOperationDefine.cpp \ ++ NdbOperationExec.cpp \ ++ NdbScanOperation.cpp \ ++ NdbScanFilter.cpp \ ++ NdbIndexOperation.cpp \ ++ NdbEventOperation.cpp \ ++ NdbEventOperationImpl.cpp \ ++ NdbApiSignal.cpp \ ++ NdbRecAttr.cpp \ ++ NdbUtil.cpp \ ++ NdbReceiver.cpp \ ++ NdbDictionary.cpp \ ++ NdbDictionaryImpl.cpp \ ++ DictCache.cpp \ ++ ndb_cluster_connection.cpp \ ++ NdbBlob.cpp \ ++ NdbIndexStat.cpp \ ++ SignalSender.cpp \ ++ ObjectMap.cpp +=20 + INCLUDES_LOC =3D -I$(top_srcdir)/storage/ndb/src/mgmapi +=20 +@@ -67,9 +68,10 @@ include $(top_srcdir)/storage/ndb/config + include $(top_srcdir)/storage/ndb/config/type_ndbapi.mk.am +=20 + ndberror_check_LDFLAGS =3D \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la \ ++ $(ZLIB_LIBS) +=20 + # Don't update the files from bitkeeper + %::SCCS/s.% +@@ -77,13 +79,13 @@ ndberror_check_LDFLAGS =3D \ + windoze-dsp: libndbapi.dsp +=20 + libndbapi.dsp: Makefile \ +- $(top_srcdir)/storage/ndb/config/win-lib.am \ +- $(top_srcdir)/storage/ndb/config/win-name \ +- $(top_srcdir)/storage/ndb/config/win-includes \ +- $(top_srcdir)/storage/ndb/config/win-sources \ +- $(top_srcdir)/storage/ndb/config/win-libraries +- cat $(top_srcdir)/storage/ndb/config/win-lib.am > $@ +- @$(top_srcdir)/storage/ndb/config/win-name $@ $(noinst_LTLIBRARIES) +- @$(top_srcdir)/storage/ndb/config/win-includes $@ $(INCLUDES) +- @$(top_srcdir)/storage/ndb/config/win-sources $@ $(libndbapi_la_SOURCE= S) +- @$(top_srcdir)/storage/ndb/config/win-libraries $@ LIB $(LDADD) ++ $(top_srcdir)/storage/ndb/config/win-lib.am \ ++ $(top_srcdir)/storage/ndb/config/win-name \ ++ $(top_srcdir)/storage/ndb/config/win-includes \ ++ $(top_srcdir)/storage/ndb/config/win-sources \ ++ $(top_srcdir)/storage/ndb/config/win-libraries ++ cat $(top_srcdir)/storage/ndb/config/win-lib.am > $@ ++ @$(top_srcdir)/storage/ndb/config/win-name $@ $(noinst_LTLIBRARIES) ++ @$(top_srcdir)/storage/ndb/config/win-includes $@ $(INCLUDES) ++ @$(top_srcdir)/storage/ndb/config/win-sources $@ $(libndbapi_la_SOURC= ES) ++ @$(top_srcdir)/storage/ndb/config/win-libraries $@ LIB $(LDADD) +Index: storage/ndb/test/run-test/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- storage/ndb/test/run-test/Makefile.am.orig 2010-11-27 15:02:45.00000= 0000 +0100 ++++ storage/ndb/test/run-test/Makefile.am 2010-11-27 15:02:49.000000000 = +0100 +@@ -34,9 +34,9 @@ atrt_SOURCES =3D main.cpp setup.cpp files. + INCLUDES_LOC =3D -I$(top_srcdir)/storage/ndb/test/include + LDADD_LOC =3D $(top_builddir)/storage/ndb/test/src/libNDBT.a \ + $(top_builddir)/storage/ndb/src/libndbclient.la \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/strings/libmystrings.a @NDB_SCI_LIBS@ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/strings/libmystrings.la @NDB_SCI_LIBS@ +=20 + atrt_CXXFLAGS =3D -I$(top_srcdir)/ndb/src/mgmapi \ + -I$(top_srcdir)/ndb/src/mgmsrv \ +Index: strings/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- strings/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ strings/Makefile.am 2010-11-27 19:42:38.000000000 +0100 +@@ -16,7 +16,7 @@ + # This file is public domain and comes with NO WARRANTY of any kind +=20 + INCLUDES =3D -I$(top_builddir)/include -I$(top_srcdir)/include +-pkglib_LIBRARIES =3D libmystrings.a ++noinst_LTLIBRARIES =3D libmystrings.la +=20 + # Exact one of ASSEMBLER_X + if ASSEMBLER_x86 +@@ -37,7 +37,7 @@ CSRCS =3D strxmov.c bmove_upp.c strappend + endif + endif +=20 +-libmystrings_a_SOURCES =3D $(ASRCS) $(CSRCS) ++libmystrings_la_SOURCES =3D $(ASRCS) $(CSRCS) + noinst_PROGRAMS =3D conf_to_src + CLEANFILES =3D str_test uctypedump test_decimal + # Default charset definitions +@@ -56,9 +56,9 @@ EXTRA_DIST =3D ctype-big5.c ctype-cp932.c + t_ctype.h my_strchr.c CMakeLists.txt \ + CHARSET_INFO.txt +=20 +-libmystrings_a_LIBADD=3D +-conf_to_src_SOURCES =3D conf_to_src.c xml.c ctype.c +-conf_to_src_LDADD=3D ++libmystrings_la_LIBADD=3D ++conf_to_src_SOURCES =3D conf_to_src.c ++conf_to_src_LDADD =3D libmystrings.la + #force static linking of conf_to_src - essential when linking against + #custom installation of libc + conf_to_src_LDFLAGS=3D @NOINST_LDFLAGS@ +@@ -69,15 +69,15 @@ conf_to_src_LDFLAGS=3D @NOINST_LDFLAGS@ +=20 + FLAGS=3D$(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) @NOINST_LDFLAGS@ +=20 +-str_test: str_test.c $(pkglib_LIBRARIES) +- $(LINK) $(FLAGS) -DMAIN $(INCLUDES) $(srcdir)/str_test.c $(LDADD) $(pk= glib_LIBRARIES) ++str_test: str_test.c $(pkglib_LTLIBRARIES) ++ $(LINK) $(FLAGS) -DMAIN $(INCLUDES) $(srcdir)/str_test.c $(LDADD) $(pk= glib_LTLIBRARIES) +=20 + uctypedump: uctypedump.c + $(LINK) $(INCLUDES) $(srcdir)/uctypedump.c +=20 + test_decimal$(EXEEXT): decimal.c $(pkglib_LIBRARIES) + $(CP) $(srcdir)/decimal.c ./test_decimal.c +- $(LINK) $(FLAGS) -DMAIN ./test_decimal.c $(LDADD) $(pkglib_LIBRARIES) ++ $(LINK) $(FLAGS) -DMAIN ./test_decimal.c $(LDADD) $(pkglib_LTLIBRARIE= S) + $(RM) -f ./test_decimal.c +=20 + # Don't update the files from bitkeeper +Index: unittest/unit.pl +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- unittest/unit.pl.orig 2010-11-27 15:02:45.000000000 +0100 ++++ unittest/unit.pl 2010-11-27 15:02:49.000000000 +0100 +@@ -55,7 +55,7 @@ sub _find_test_files (@) { + my @dirs =3D @_; + my @files; + find sub {=20 +- $File::Find::prune =3D 1 if /^SCCS$/; ++ $File::Find::prune =3D 1 if /^(SCCS|\.libs)$/; + push(@files, $File::Find::name) if -x _ && /-t\z/; + }, @dirs; + return @files; +Index: unittest/mysys/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- unittest/mysys/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ unittest/mysys/Makefile.am 2010-11-27 15:02:49.000000000 +0100 +@@ -13,15 +13,16 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301= USA +=20 +-AM_CPPFLAGS =3D @ZLIB_INCLUDES@ -I$(top_builddir)/include=20 +-AM_CPPFLAGS +=3D -I$(top_srcdir)/include -I$(top_srcdir)/unittest/m= ytap ++AM_CPPFLAGS =3D @ZLIB_INCLUDES@ -I$(top_builddir)/include=20 ++AM_CPPFLAGS +=3D -I$(top_srcdir)/include -I$(top_srcdir)/unittest/mytap +=20 +-LDADD =3D $(top_builddir)/unittest/mytap/libmytap.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a ++LDADD =3D $(top_builddir)/unittest/mytap/libmytap.a \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la \ ++ $(ZLIB_LIBS) +=20 +-noinst_PROGRAMS =3D bitmap-t base64-t ++noinst_PROGRAMS =3D bitmap-t base64-t +=20 + # Don't update the files from bitkeeper + %::SCCS/s.% +Index: unittest/strings/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- unittest/strings/Makefile.am.orig 2010-11-27 15:02:45.000000000 +010= 0 ++++ unittest/strings/Makefile.am 2010-11-27 15:02:49.000000000 +0100 +@@ -16,10 +16,11 @@ + AM_CPPFLAGS =3D @ZLIB_INCLUDES@ -I$(top_builddir)/include=20 + AM_CPPFLAGS +=3D -I$(top_srcdir)/include -I$(top_srcdir)/unittest/m= ytap +=20 +-LDADD =3D $(top_builddir)/unittest/mytap/libmytap.a \ +- $(top_builddir)/mysys/libmysys.a \ +- $(top_builddir)/dbug/libdbug.a \ +- $(top_builddir)/strings/libmystrings.a ++LDADD =3D $(top_builddir)/unittest/mytap/libmytap.a \ ++ $(top_builddir)/mysys/libmysys.la \ ++ $(top_builddir)/dbug/libdbug.la \ ++ $(top_builddir)/strings/libmystrings.la \ ++ $(ZLIB_LIBS) +=20 + noinst_PROGRAMS =3D strings-t +=20 +Index: vio/Makefile.am +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +--- vio/Makefile.am.orig 2010-11-27 15:02:45.000000000 +0100 ++++ vio/Makefile.am 2010-11-27 19:43:02.000000000 +0100 +@@ -16,11 +16,11 @@ + INCLUDES =3D -I$(top_builddir)/include -I$(top_srcdir)/include \ + $(openssl_includes) + LDADD =3D @CLIENT_EXTRA_LDFLAGS@ $(openssl_libs) $(yassl_libs) +-pkglib_LIBRARIES =3D libvio.a ++noinst_LTLIBRARIES =3D libvio.la +=20 + noinst_HEADERS =3D vio_priv.h +=20 +-libvio_a_SOURCES =3D vio.c viosocket.c viossl.c viosslfactories.c ++libvio_la_SOURCES =3D vio.c viosocket.c viossl.c viosslfactories.c +=20 + EXTRA_DIST=3D CMakeLists.txt +=20