Commit 1f0612d8 authored by unknown's avatar unknown
Browse files

Auto merged


Makefile.am:
  merged
parents c6f311a0 c566f9a2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -52,7 +52,9 @@ fi
  --with-federated-storage-engine \
  --with-berkeley-db \
  --with-innodb \
  --with-yassl \
  --enable-thread-safe-client \
  --with-extra-charsets=complex \
  --with-ndbcluster
  --with-ndbcluster \
  --with-zlib-dir=bundled
make
+5 −11
Original line number Diff line number Diff line
@@ -21,25 +21,17 @@ AUTOMAKE_OPTIONS = foreign
# These are built from source in the Docs directory
EXTRA_DIST =		INSTALL-SOURCE INSTALL-WIN-SOURCE \
			README COPYING EXCEPTIONS-CLIENT cmakelists.txt
SUBDIRS =		. include @docs_dirs@ @zlib_dir@ @yassl_dir@ \
SUBDIRS =		. include @docs_dirs@ @zlib_dir@ \
			@readline_topdir@ sql-common \
			@thread_dirs@ pstack \
			@sql_union_dirs@ @mysql_se_dirs@ \
			@sql_union_dirs@ storage \
			@sql_server@ scripts @man_dirs@ tests \
			@mysql_se_plugins@ \
			netware @libmysqld_dirs@ \
			@bench_dirs@ support-files @tools_dirs@ \
			plugin win

DIST_SUBDIRS =		. include @docs_dirs@ zlib \
			@readline_topdir@ sql-common \
			@thread_dirs@ pstack \
                        strings mysys dbug extra regex storage \
                        vio sql libmysql_r libmysql client scripts \
			@man_dirs@ tests SSL\
			BUILD netware @libmysqld_dirs@\
			@bench_dirs@ support-files server-tools tools \
			plugin win
DIST_SUBDIRS =		$(SUBDIRS) SSL BUILD

# Run these targets before any others, also make part of clean target,
# to make sure we create new links after a clean.
@@ -100,9 +92,11 @@ dist-hook:
	rm -rf `find $(distdir) -type d -name SCCS -print`
	if echo "$(distdir)" | grep -q '^/' ; then \
	  scripts/mysql_install_db --no-defaults --windows \
		--basedir=$(top_srcdir) \
		--datadir="$(distdir)/win/data"; \
	else \
	  scripts/mysql_install_db --no-defaults --windows \
		 --basedir=$(top_srcdir) \
		 --datadir="$$(pwd)/$(distdir)/win/data"; \
	fi

+5 −6
Original line number Diff line number Diff line
AC_CONFIG_FILES(extra/yassl/Makefile dnl
extra/yassl/taocrypt/Makefile dnl
extra/yassl/taocrypt/src/Makefile dnl
extra/yassl/src/Makefile)

AC_DEFUN([MYSQL_CHECK_YASSL], [
  AC_MSG_CHECKING(for yaSSL)
  AC_ARG_WITH([yassl], [  --with-yassl          Include the yaSSL support],,)
@@ -14,7 +9,11 @@ AC_DEFUN([MYSQL_CHECK_YASSL], [
      AC_MSG_ERROR([Cannot configure MySQL to use yaSSL and OpenSSL simultaneously.])
    fi
    AC_MSG_RESULT([using bundled yaSSL])
    yassl_dir="extra/yassl"
    AC_CONFIG_FILES(extra/yassl/Makefile dnl
    extra/yassl/taocrypt/Makefile dnl
    extra/yassl/taocrypt/src/Makefile dnl
    extra/yassl/src/Makefile)
    yassl_dir="yassl"
    yassl_libs="-L\$(top_srcdir)/extra/yassl/src -lyassl -L\$(top_srcdir)/extra/yassl/taocrypt/src -ltaocrypt"
    yassl_includes="-I\$(top_srcdir)/extra/yassl/include"
    AC_DEFINE([HAVE_OPENSSL], [1], [Defined by configure. Using yaSSL for OpenSSL emulation.])
+5 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ case $SYSTEM_TYPE in
    ;;
  *)
    AC_ARG_WITH([zlib-dir],
                AC_HELP_STRING([--with-zlib-dir=DIR],
                AC_HELP_STRING([--with-zlib-dir=no|bundled|DIR],
                               [Provide MySQL with a custom location of
                               compression library. Given DIR, zlib binary is 
                               assumed to be in $DIR/lib and header files
@@ -113,6 +113,10 @@ case $SYSTEM_TYPE in
    fi
    ;;
esac
if test -n "$zlib_dir"
then
  AC_CONFIG_FILES(zlib/Makefile)
fi
])

dnl ------------------------------------------------------------------------
+27 −12
Original line number Diff line number Diff line
@@ -2304,16 +2304,20 @@ fi
AC_SUBST(man_dirs)
AC_SUBST(man1_files)

if test -e sql-bench
then
# Shall we build the bench code?
AC_ARG_WITH(bench,
    [  --without-bench         Skip building of the benchmark suite.],
    [with_bench=$withval],
    [with_bench=yes]
)
fi

if test "$with_bench" = "yes"
then
  bench_dirs="sql-bench"
  AC_CONFIG_FILES(sql-bench/Makefile)
else
  bench_dirs=""
fi
@@ -2332,6 +2336,11 @@ AC_ARG_WITH(libedit,
    [ with_libedit=$withval ],
    [ with_libedit=undefined ]
    )
if test -z "$with_readline$with_libedit" -a ! -e cmd-line-utils
then
  with_readline=no
  with_libedit=no
fi

#
# We support next variants of compilation:
@@ -2408,6 +2417,16 @@ else
          versions of libedit or readline])
    fi
fi
#
# if either readline or libedit is enabled - generate Makefile's for both
# (to make sure both are included in 'make dist')
#
if test -n "$readline_basedir"
then
  AC_CONFIG_FILES(cmd-line-utils/Makefile dnl
                  cmd-line-utils/libedit/Makefile dnl
                  cmd-line-utils/readline/Makefile)
fi
fi

AC_SUBST(readline_dir)
@@ -2420,7 +2439,7 @@ MYSQL_CHECK_BIG_TABLES
MYSQL_CHECK_MAX_INDEXES
MYSQL_CHECK_REPLICATION

MYSQL_STORAGE_ENGINE(innobase,,innodb,,,,storage/innobase,ha_innodb.o,[ dnl
MYSQL_STORAGE_ENGINE(innobase,,innodb,,,,innobase,ha_innodb.o,[ dnl
  \$(top_builddir)/storage/innobase/usr/libusr.a dnl
  \$(top_builddir)/storage/innobase/srv/libsrv.a dnl
  \$(top_builddir)/storage/innobase/dict/libdict.a dnl
@@ -2462,24 +2481,24 @@ MYSQL_STORAGE_ENGINE(innobase,,innodb,,,,storage/innobase,ha_innodb.o,[ dnl
  other_configures="$other_configures storage/innobase/configure"
])

MYSQL_STORAGE_ENGINE(berkeley,,berkeley-db,,,,storage/bdb,,,[
MYSQL_STORAGE_ENGINE(berkeley,,berkeley-db,,,,bdb,,,[
  MYSQL_SETUP_BERKELEY_DB
])
MYSQL_STORAGE_ENGINE(example,,,,,,storage/example,no,
MYSQL_STORAGE_ENGINE(example,,,,,,example,no,
 \$(top_builddir)/storage/example/libexample.a,[
  AC_CONFIG_FILES(storage/example/Makefile)
])
MYSQL_STORAGE_ENGINE(archive,,,,,,storage/archive,,
MYSQL_STORAGE_ENGINE(archive,,,,,,archive,,
 \$(top_builddir)/storage/archive/libarchive.a, [
  AC_CONFIG_FILES(storage/archive/Makefile)
])
MYSQL_STORAGE_ENGINE(csv,,,"yes",,tina_hton,storage/csv,no,
MYSQL_STORAGE_ENGINE(csv,,,"yes",,tina_hton,csv,no,
  \$(top_builddir)/storage/csv/libcsv.a,[
  AC_CONFIG_FILES(storage/csv/Makefile)
])
MYSQL_STORAGE_ENGINE(blackhole)
MYSQL_STORAGE_ENGINE(federated)
MYSQL_STORAGE_ENGINE(ndbcluster,,ndbcluster,,,,storage/ndb,,,[
MYSQL_STORAGE_ENGINE(ndbcluster,,ndbcluster,,,,ndb,,,[
  MYSQL_SETUP_NDBCLUSTER
])
MYSQL_STORAGE_ENGINE(partition,,partition)
@@ -2539,7 +2558,7 @@ then
  AC_SUBST(THREAD_LOBJECTS)
  server_scripts="mysqld_safe mysql_install_db"
  sql_server_dirs="strings mysys dbug extra regex"
  mysql_se_dirs="storage/myisam storage/myisammrg storage/heap $mysql_se_dirs"
  mysql_se_dirs="myisam myisammrg heap $mysql_se_dirs"
  sql_server="$sql_server vio sql"
fi

@@ -2609,16 +2628,12 @@ AC_CONFIG_FILES(Makefile extra/Makefile mysys/Makefile dnl
 pstack/Makefile pstack/aout/Makefile sql/Makefile sql/share/Makefile dnl
 sql/handlerton.cc sql-common/Makefile SSL/Makefile dnl
 dbug/Makefile scripts/Makefile dnl
 include/Makefile sql-bench/Makefile dnl
 include/Makefile dnl
 server-tools/Makefile server-tools/instance-manager/Makefile dnl
 tests/Makefile Docs/Makefile support-files/Makefile dnl
 support-files/MacOSX/Makefile mysql-test/Makefile dnl
 mysql-test/ndb/Makefile netware/Makefile dnl
 include/mysql_version.h dnl
 cmd-line-utils/Makefile dnl
 cmd-line-utils/libedit/Makefile dnl
 zlib/Makefile dnl
 cmd-line-utils/readline/Makefile dnl
 plugin/Makefile dnl
 plugin/fulltext/Makefile dnl
 win/Makefile)
Loading