~gaul/percona-data-recovery-tool-for-innodb/prerequisites

« back to all changes in this revision

Viewing changes to mysql-source/config/ac-macros/yassl.m4

  • Committer: Aleksandr Kuzminsky
  • Date: 2010-01-14 13:05:06 UTC
  • mfrom: (1.1.1 page-signature-check)
  • Revision ID: aleksandr.kuzminsky@percona.com-20100114130506-72t6jxtll15gk3pp
Added InnoDB page signature check.
At the beginning of InnoDB page (type FIL_PAGE_INODE) there are infimum and supremum records.
They are located in fixed position depending on InnoDB page format(REDUNDANT (4.x and 5.x versions) or COMPACT(5.x only)).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AC_CONFIG_FILES(extra/yassl/Makefile dnl
 
2
extra/yassl/taocrypt/Makefile dnl
 
3
extra/yassl/taocrypt/src/Makefile dnl
 
4
extra/yassl/src/Makefile dnl
 
5
extra/yassl/testsuite/Makefile dnl
 
6
extra/yassl/taocrypt/test/Makefile dnl
 
7
extra/yassl/taocrypt/benchmark/Makefile)
 
8
 
 
9
AC_DEFUN([MYSQL_CHECK_YASSL], [
 
10
  AC_MSG_CHECKING(for yaSSL)
 
11
  AC_ARG_WITH([yassl], [  --with-yassl          Include the yaSSL support],,)
 
12
 
 
13
  if test "$with_yassl" = "yes"
 
14
  then
 
15
    if test "$openssl" != "no"
 
16
    then
 
17
      AC_MSG_ERROR([Cannot configure MySQL to use yaSSL and OpenSSL simultaneously.])
 
18
    fi
 
19
    AC_MSG_RESULT([using bundled yaSSL])
 
20
    yassl_dir="extra/yassl"
 
21
    yassl_libs="\$(top_builddir)/extra/yassl/src/libyassl.la \
 
22
                \$(top_builddir)/extra/yassl/taocrypt/src/libtaocrypt.la"
 
23
    AC_DEFINE([HAVE_OPENSSL], [1], [Defined by configure. Using yaSSL for OpenSSL emulation.])
 
24
    AC_DEFINE([HAVE_YASSL], [1], [Defined by configure. Using yaSSL for OpenSSL emulation.])
 
25
    # System specific checks
 
26
    yassl_integer_extra_cxxflags=""
 
27
    case $host_cpu--$CXX_VERSION in
 
28
        sparc*--*Sun*C++*5.6*)
 
29
        # Disable inlining when compiling taocrypt/src/
 
30
        yassl_taocrypt_extra_cxxflags="+d"
 
31
        AC_MSG_NOTICE([disabling inlining for yassl/taocrypt/src/])
 
32
        ;;
 
33
    esac
 
34
    AC_SUBST([yassl_taocrypt_extra_cxxflags])
 
35
    # Link extra/yassl/include/openssl subdir to include/
 
36
    yassl_h_ln_cmd="\$(LN) -s \$(top_srcdir)/extra/yassl/include/openssl openssl"
 
37
    AC_SUBST(yassl_h_ln_cmd)
 
38
  else
 
39
    yassl_dir=""
 
40
    AC_MSG_RESULT(no)
 
41
  fi
 
42
  AC_SUBST(yassl_libs)
 
43
  AC_SUBST(yassl_dir)
 
44
  AM_CONDITIONAL([HAVE_YASSL], [ test "$with_yassl" = "yes" ])
 
45
])