~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/plugin.ac

  • Committer: lbieber
  • Date: 2010-10-01 12:16:18 UTC
  • mfrom: (1802.1.1 fix-bug-651256)
  • Revision ID: lbieber@orisndriz08-20101001121618-uqcboygpjwbiglem
Merge Vijay - fix bug 651256 - Remove --help-extended

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
# Copyright (C) 2006, 2009, Innobase Oy. All Rights Reserved.
 
2
# Copyright (c) 2006, 2009, Innobase Oy. All Rights Reserved.
3
3
4
4
# This program is free software; you can redistribute it and/or modify it under
5
5
# the terms of the GNU General Public License as published by the Free Software
10
10
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
11
11
12
12
# You should have received a copy of the GNU General Public License along with
13
 
# this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
14
 
# St, Fifth Floor, Boston, MA 02110-1301 USA
 
13
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 
14
# Place, Suite 330, Boston, MA 02111-1307 USA
15
15
#
16
16
 
17
17
AC_DEFUN([AC_INNODB_ACTIONS],[
18
 
  PANDORA_REQUIRE_FLEX
19
 
  PANDORA_HAVE_LIBAIO
20
 
 
 
18
  AC_REQUIRE([AC_PROG_LEX])
21
19
  AC_REQUIRE([AC_FUNC_MMAP])
22
20
 
23
21
  AC_CHECK_LIB(rt, aio_read, [innodb_system_libs="-lrt"])
153
151
  # http://bugs.opensolaris.org/bugdatabase/printableBug.do?bug_id=6478684
154
152
  # We use ib_ prefix to avoid collisoins if this code is added to
155
153
  # mysql's configure.in.
 
154
  dnl Must be done once we turn on warnings and such
 
155
  save_CFLAGS="${CFLAGS}"
 
156
  CFLAGS="${AM_CFLAGS} ${CFLAGS}"
156
157
  AC_RUN_IFELSE([AC_LANG_PROGRAM([[]],[[
157
158
        __asm__ __volatile__ ("pause");
158
159
    ]])],[
161
162
      ac_cv_plugin_innodb_has_pause=no
162
163
    ])
163
164
  ])
 
165
  CFLAGS="${save_CFLAGS}"
164
166
  AS_IF([test "${ac_cv_plugin_innodb_has_pause}" = "yes"],[
165
167
    AC_DEFINE([IB_HAVE_PAUSE_INSTRUCTION], [1],
166
168
              [Does x86 PAUSE instruction exist])