Merge neptunus.(none):/home/msvensson/mysql/bug12985/my50-bug12985
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
This commit is contained in:
commit
68fa03258a
@ -22,8 +22,10 @@ else
|
|||||||
yassl_dummy_link_fix=
|
yassl_dummy_link_fix=
|
||||||
endif
|
endif
|
||||||
#AUTOMAKE_OPTIONS = nostdinc
|
#AUTOMAKE_OPTIONS = nostdinc
|
||||||
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
|
INCLUDES = -I$(top_builddir)/include \
|
||||||
-I$(top_srcdir)/regex $(openssl_includes)
|
-I$(top_srcdir)/include \
|
||||||
|
-I$(top_srcdir)/regex \
|
||||||
|
$(openssl_includes) $(yassl_includes)
|
||||||
LIBS = @CLIENT_LIBS@
|
LIBS = @CLIENT_LIBS@
|
||||||
LDADD= @CLIENT_EXTRA_LDFLAGS@ \
|
LDADD= @CLIENT_EXTRA_LDFLAGS@ \
|
||||||
$(top_builddir)/libmysql/libmysqlclient.la
|
$(top_builddir)/libmysql/libmysqlclient.la
|
||||||
|
@ -15,10 +15,9 @@ AC_DEFUN([MYSQL_CHECK_YASSL], [
|
|||||||
fi
|
fi
|
||||||
AC_MSG_RESULT([using bundled yaSSL])
|
AC_MSG_RESULT([using bundled yaSSL])
|
||||||
yassl_dir="extra/yassl"
|
yassl_dir="extra/yassl"
|
||||||
openssl_libs="\
|
yassl_libs="-L\$(top_srcdir)/extra/yassl/src -lyassl -L\$(top_srcdir)/extra/yassl/taocrypt/src -ltaocrypt"
|
||||||
-L\$(top_builddir)/extra/yassl/src -lyassl\
|
yassl_libs_with_path="\$(top_srcdir)/extra/yassl/src/libyassl.a \$(top_srcdir)/extra/yassl/taocrypt/src/libtaocrypt.a"
|
||||||
-L\$(top_builddir)/extra/yassl/taocrypt/src -ltaocrypt"
|
yassl_includes="-I\$(top_srcdir)/extra/yassl/include"
|
||||||
openssl_includes="-I\$(top_srcdir)/extra/yassl/include"
|
|
||||||
AC_DEFINE([HAVE_OPENSSL], [1], [Defined by configure. Using yaSSL for OpenSSL emulation.])
|
AC_DEFINE([HAVE_OPENSSL], [1], [Defined by configure. Using yaSSL for OpenSSL emulation.])
|
||||||
AC_DEFINE([HAVE_YASSL], [1], [Defined by configure. Using yaSSL for OpenSSL emulation.])
|
AC_DEFINE([HAVE_YASSL], [1], [Defined by configure. Using yaSSL for OpenSSL emulation.])
|
||||||
# System specific checks
|
# System specific checks
|
||||||
@ -36,8 +35,9 @@ AC_DEFUN([MYSQL_CHECK_YASSL], [
|
|||||||
yassl_dir=""
|
yassl_dir=""
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi
|
fi
|
||||||
AC_SUBST(openssl_libs)
|
AC_SUBST(yassl_libs)
|
||||||
AC_SUBST(openssl_includes)
|
AC_SUBST(yassl_includes)
|
||||||
AC_SUBST(yassl_dir)
|
AC_SUBST(yassl_dir)
|
||||||
|
AC_SUBST(yassl_libs_with_path)
|
||||||
AM_CONDITIONAL([HAVE_YASSL], [ test "with_yassl" = "yes" ])
|
AM_CONDITIONAL([HAVE_YASSL], [ test "with_yassl" = "yes" ])
|
||||||
])
|
])
|
||||||
|
@ -1129,7 +1129,7 @@ dnl Is this the right match for DEC OSF on alpha?
|
|||||||
sql/Makefile.in)
|
sql/Makefile.in)
|
||||||
# Use gen_lex_hash.linux instead of gen_lex_hash
|
# Use gen_lex_hash.linux instead of gen_lex_hash
|
||||||
# Add library dependencies to mysqld_DEPENDENCIES
|
# Add library dependencies to mysqld_DEPENDENCIES
|
||||||
lib_DEPENDENCIES="\$(bdb_libs_with_path) \$(innodb_libs) \$(ndbcluster_libs) \$(pstack_libs) \$(innodb_system_libs) \$(openssl_libs)"
|
lib_DEPENDENCIES="\$(bdb_libs_with_path) \$(innodb_libs) \$(ndbcluster_libs) \$(pstack_libs) \$(innodb_system_libs) \$(openssl_libs) \$(yassl_libs)"
|
||||||
cat > $filesed << EOF
|
cat > $filesed << EOF
|
||||||
s,\(^.*\$(MAKE) gen_lex_hash\)\$(EXEEXT),#\1,
|
s,\(^.*\$(MAKE) gen_lex_hash\)\$(EXEEXT),#\1,
|
||||||
s,\(\./gen_lex_hash\)\$(EXEEXT),\1.linux,
|
s,\(\./gen_lex_hash\)\$(EXEEXT),\1.linux,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
INCLUDES = -I../include -I../taocrypt/include -I../mySTL
|
INCLUDES = -I../include -I../taocrypt/include -I../mySTL
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libyassl.la
|
noinst_LIBRARIES = libyassl.a
|
||||||
libyassl_la_SOURCES = buffer.cpp cert_wrapper.cpp crypto_wrapper.cpp \
|
libyassl_a_SOURCES = buffer.cpp cert_wrapper.cpp crypto_wrapper.cpp \
|
||||||
handshake.cpp lock.cpp log.cpp socket_wrapper.cpp ssl.cpp \
|
handshake.cpp lock.cpp log.cpp socket_wrapper.cpp ssl.cpp \
|
||||||
template_instnt.cpp timer.cpp yassl_imp.cpp yassl_error.cpp yassl_int.cpp
|
template_instnt.cpp timer.cpp yassl_imp.cpp yassl_error.cpp yassl_int.cpp
|
||||||
EXTRA_DIST = ../include/*.hpp ../include/openssl/*.h
|
EXTRA_DIST = ../include/*.hpp ../include/openssl/*.h
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
INCLUDES = -I../include -I../../mySTL
|
INCLUDES = -I../include -I../../mySTL
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libtaocrypt.la libtaoint.la
|
noinst_LIBRARIES = libtaocrypt.a libtaoint.a
|
||||||
libtaocrypt_la_SOURCES = aes.cpp aestables.cpp algebra.cpp arc4.cpp asn.cpp \
|
libtaocrypt_a_SOURCES = aes.cpp aestables.cpp algebra.cpp arc4.cpp asn.cpp \
|
||||||
coding.cpp dh.cpp des.cpp dsa.cpp file.cpp hash.cpp \
|
coding.cpp dh.cpp des.cpp dsa.cpp file.cpp hash.cpp \
|
||||||
md2.cpp md5.cpp misc.cpp random.cpp ripemd.cpp rsa.cpp sha.cpp \
|
md2.cpp md5.cpp misc.cpp random.cpp ripemd.cpp rsa.cpp sha.cpp \
|
||||||
template_instnt.cpp
|
template_instnt.cpp
|
||||||
libtaocrypt_la_LIBADD = libtaoint.la
|
libtaocrypt_a_LIBADD = libtaoint.a
|
||||||
libtaoint_la_SOURCES = integer.cpp
|
libtaoint_a_SOURCES = integer.cpp
|
||||||
libtaoint_la_CXXFLAGS = @yassl_integer_extra_cxxflags@
|
libtaoint_a_CXXFLAGS = @yassl_integer_extra_cxxflags@
|
||||||
EXTRA_DIST = ../include/*.hpp
|
EXTRA_DIST = ../include/*.hpp
|
||||||
AM_CXXFLAGS = -DYASSL_PURE_C
|
AM_CXXFLAGS = -DYASSL_PURE_C
|
||||||
|
@ -22,9 +22,9 @@
|
|||||||
|
|
||||||
target = libmysqlclient.la
|
target = libmysqlclient.la
|
||||||
target_defs = -DUNDEF_THREADS_HACK -DDONT_USE_RAID @LIB_EXTRA_CCFLAGS@
|
target_defs = -DUNDEF_THREADS_HACK -DDONT_USE_RAID @LIB_EXTRA_CCFLAGS@
|
||||||
LIBS = @CLIENT_LIBS@
|
LIBS = @CLIENT_LIBS@ @yassl_libs@
|
||||||
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
|
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
|
||||||
$(openssl_includes) @ZLIB_INCLUDES@
|
$(openssl_includes) $(yassl_includes) @ZLIB_INCLUDES@
|
||||||
|
|
||||||
include $(srcdir)/Makefile.shared
|
include $(srcdir)/Makefile.shared
|
||||||
|
|
||||||
|
@ -22,10 +22,10 @@
|
|||||||
|
|
||||||
target = libmysqlclient_r.la
|
target = libmysqlclient_r.la
|
||||||
target_defs = -DDONT_USE_RAID -DMYSQL_CLIENT @LIB_EXTRA_CCFLAGS@
|
target_defs = -DDONT_USE_RAID -DMYSQL_CLIENT @LIB_EXTRA_CCFLAGS@
|
||||||
LIBS = @LIBS@ @ZLIB_LIBS@ @openssl_libs@
|
LIBS = @LIBS@ @ZLIB_LIBS@ @openssl_libs@ @yassl_libs@
|
||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
|
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \
|
||||||
$(openssl_includes) @ZLIB_INCLUDES@
|
$(openssl_includes) $(yassl_includes) @ZLIB_INCLUDES@
|
||||||
## automake barfs if you don't use $(srcdir) or $(top_srcdir) in include
|
## automake barfs if you don't use $(srcdir) or $(top_srcdir) in include
|
||||||
include $(top_srcdir)/libmysql/Makefile.shared
|
include $(top_srcdir)/libmysql/Makefile.shared
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ INCLUDES= @bdb_includes@ \
|
|||||||
-I$(top_builddir)/include -I$(top_srcdir)/include \
|
-I$(top_builddir)/include -I$(top_srcdir)/include \
|
||||||
-I$(top_srcdir)/sql -I$(top_srcdir)/sql/examples \
|
-I$(top_srcdir)/sql -I$(top_srcdir)/sql/examples \
|
||||||
-I$(top_srcdir)/regex \
|
-I$(top_srcdir)/regex \
|
||||||
$(openssl_includes) @ZLIB_INCLUDES@
|
$(openssl_includes) $(yassl_includes) @ZLIB_INCLUDES@
|
||||||
|
|
||||||
noinst_LIBRARIES = libmysqld_int.a
|
noinst_LIBRARIES = libmysqld_int.a
|
||||||
pkglib_LIBRARIES = libmysqld.a
|
pkglib_LIBRARIES = libmysqld.a
|
||||||
@ -80,7 +80,9 @@ INC_LIB= $(top_builddir)/regex/libregex.a \
|
|||||||
$(top_builddir)/mysys/libmysys.a \
|
$(top_builddir)/mysys/libmysys.a \
|
||||||
$(top_builddir)/strings/libmystrings.a \
|
$(top_builddir)/strings/libmystrings.a \
|
||||||
$(top_builddir)/dbug/libdbug.a \
|
$(top_builddir)/dbug/libdbug.a \
|
||||||
$(top_builddir)/vio/libvio.a
|
$(top_builddir)/vio/libvio.a \
|
||||||
|
@yassl_libs_with_path@
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# To make it easy for the end user to use the embedded library we
|
# To make it easy for the end user to use the embedded library we
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
INCLUDES= @ZLIB_INCLUDES@ -I$(top_srcdir)/include \
|
INCLUDES= @ZLIB_INCLUDES@ -I$(top_srcdir)/include \
|
||||||
$(openssl_includes) -I$(top_builddir)/include
|
@openssl_includes@ @yassl_includes@ -I$(top_builddir)/include
|
||||||
|
|
||||||
DEFS= -DMYSQL_INSTANCE_MANAGER -DMYSQL_SERVER
|
DEFS= -DMYSQL_INSTANCE_MANAGER -DMYSQL_SERVER
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ mysqlmanager_LDADD= liboptions.a \
|
|||||||
$(top_builddir)/mysys/libmysys.a \
|
$(top_builddir)/mysys/libmysys.a \
|
||||||
$(top_builddir)/strings/libmystrings.a \
|
$(top_builddir)/strings/libmystrings.a \
|
||||||
$(top_builddir)/dbug/libdbug.a \
|
$(top_builddir)/dbug/libdbug.a \
|
||||||
@openssl_libs@ @ZLIB_LIBS@
|
@openssl_libs@ @yassl_libs@ @ZLIB_LIBS@
|
||||||
|
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
|
@ -22,7 +22,8 @@ MYSQLBASEdir= $(prefix)
|
|||||||
INCLUDES = @ZLIB_INCLUDES@ \
|
INCLUDES = @ZLIB_INCLUDES@ \
|
||||||
@bdb_includes@ @innodb_includes@ @ndbcluster_includes@ \
|
@bdb_includes@ @innodb_includes@ @ndbcluster_includes@ \
|
||||||
-I$(top_builddir)/include -I$(top_srcdir)/include \
|
-I$(top_builddir)/include -I$(top_srcdir)/include \
|
||||||
-I$(top_srcdir)/regex -I$(srcdir) $(openssl_includes)
|
-I$(top_srcdir)/regex -I$(srcdir) $(yassl_includes) \
|
||||||
|
$(openssl_includes)
|
||||||
WRAPLIBS= @WRAPLIBS@
|
WRAPLIBS= @WRAPLIBS@
|
||||||
SUBDIRS = share
|
SUBDIRS = share
|
||||||
libexec_PROGRAMS = mysqld
|
libexec_PROGRAMS = mysqld
|
||||||
@ -42,7 +43,8 @@ mysqld_LDADD = @MYSQLD_EXTRA_LDFLAGS@ \
|
|||||||
@bdb_libs@ @innodb_libs@ @pstack_libs@ \
|
@bdb_libs@ @innodb_libs@ @pstack_libs@ \
|
||||||
@innodb_system_libs@ \
|
@innodb_system_libs@ \
|
||||||
@ndbcluster_libs@ @ndbcluster_system_libs@ \
|
@ndbcluster_libs@ @ndbcluster_system_libs@ \
|
||||||
$(LDADD) $(CXXLDFLAGS) $(WRAPLIBS) @LIBDL@ @openssl_libs@
|
$(LDADD) $(CXXLDFLAGS) $(WRAPLIBS) @LIBDL@ \
|
||||||
|
@yassl_libs@ @openssl_libs@
|
||||||
noinst_HEADERS = item.h item_func.h item_sum.h item_cmpfunc.h \
|
noinst_HEADERS = item.h item_func.h item_sum.h item_cmpfunc.h \
|
||||||
item_strfunc.h item_timefunc.h item_uniq.h \
|
item_strfunc.h item_timefunc.h item_uniq.h \
|
||||||
item_create.h item_subselect.h item_row.h \
|
item_create.h item_subselect.h item_row.h \
|
||||||
|
@ -20,23 +20,23 @@ else
|
|||||||
yassl_dummy_link_fix=
|
yassl_dummy_link_fix=
|
||||||
endif
|
endif
|
||||||
INCLUDES= -I$(top_builddir)/include -I$(top_srcdir)/include \
|
INCLUDES= -I$(top_builddir)/include -I$(top_srcdir)/include \
|
||||||
$(openssl_includes)
|
$(openssl_includes) $(yassl_includes)
|
||||||
LDADD= @CLIENT_EXTRA_LDFLAGS@ $(openssl_libs)
|
LDADD= @CLIENT_EXTRA_LDFLAGS@ $(openssl_libs) $(yassl_libs)
|
||||||
pkglib_LIBRARIES= libvio.a
|
pkglib_LIBRARIES= libvio.a
|
||||||
noinst_PROGRAMS = test-ssl test-sslserver test-sslclient
|
noinst_PROGRAMS = test-ssl test-sslserver test-sslclient
|
||||||
noinst_HEADERS= vio_priv.h
|
noinst_HEADERS= vio_priv.h
|
||||||
test_ssl_SOURCES= test-ssl.c $(yassl_dummy_link_fix)
|
test_ssl_SOURCES= test-ssl.c $(yassl_dummy_link_fix)
|
||||||
test_ssl_LDADD= @CLIENT_EXTRA_LDFLAGS@ ../dbug/libdbug.a libvio.a \
|
test_ssl_LDADD= @CLIENT_EXTRA_LDFLAGS@ ../dbug/libdbug.a libvio.a \
|
||||||
../mysys/libmysys.a ../strings/libmystrings.a \
|
../mysys/libmysys.a ../strings/libmystrings.a \
|
||||||
$(openssl_libs)
|
$(openssl_libs) $(yassl_libs)
|
||||||
test_sslserver_SOURCES= test-sslserver.c $(yassl_dummy_link_fix)
|
test_sslserver_SOURCES= test-sslserver.c $(yassl_dummy_link_fix)
|
||||||
test_sslserver_LDADD= @CLIENT_EXTRA_LDFLAGS@ ../dbug/libdbug.a libvio.a \
|
test_sslserver_LDADD= @CLIENT_EXTRA_LDFLAGS@ ../dbug/libdbug.a libvio.a \
|
||||||
../mysys/libmysys.a ../strings/libmystrings.a \
|
../mysys/libmysys.a ../strings/libmystrings.a \
|
||||||
$(openssl_libs)
|
$(openssl_libs) $(yassl_libs)
|
||||||
test_sslclient_SOURCES= test-sslclient.c $(yassl_dummy_link_fix)
|
test_sslclient_SOURCES= test-sslclient.c $(yassl_dummy_link_fix)
|
||||||
test_sslclient_LDADD= @CLIENT_EXTRA_LDFLAGS@ ../dbug/libdbug.a libvio.a \
|
test_sslclient_LDADD= @CLIENT_EXTRA_LDFLAGS@ ../dbug/libdbug.a libvio.a \
|
||||||
../mysys/libmysys.a ../strings/libmystrings.a \
|
../mysys/libmysys.a ../strings/libmystrings.a \
|
||||||
$(openssl_libs)
|
$(openssl_libs) $(yassl_libs)
|
||||||
libvio_a_SOURCES= vio.c viosocket.c viossl.c viosslfactories.c
|
libvio_a_SOURCES= vio.c viosocket.c viossl.c viosslfactories.c
|
||||||
|
|
||||||
# Don't update the files from bitkeeper
|
# Don't update the files from bitkeeper
|
||||||
|
Loading…
x
Reference in New Issue
Block a user