~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/plugin.ac

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

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
16
16
 
17
17
AC_DEFUN([AC_INNODB_ACTIONS],[
18
18
  PANDORA_REQUIRE_FLEX
 
19
  PANDORA_HAVE_LIBAIO
19
20
 
20
21
  AC_REQUIRE([AC_FUNC_MMAP])
21
22
 
152
153
  # http://bugs.opensolaris.org/bugdatabase/printableBug.do?bug_id=6478684
153
154
  # We use ib_ prefix to avoid collisoins if this code is added to
154
155
  # mysql's configure.in.
155
 
  dnl Must be done once we turn on warnings and such
156
 
  save_CFLAGS="${CFLAGS}"
157
 
  CFLAGS="${AM_CFLAGS} ${CFLAGS}"
158
156
  AC_RUN_IFELSE([AC_LANG_PROGRAM([[]],[[
159
157
        __asm__ __volatile__ ("pause");
160
158
    ]])],[
163
161
      ac_cv_plugin_innodb_has_pause=no
164
162
    ])
165
163
  ])
166
 
  CFLAGS="${save_CFLAGS}"
167
164
  AS_IF([test "${ac_cv_plugin_innodb_has_pause}" = "yes"],[
168
165
    AC_DEFINE([IB_HAVE_PAUSE_INSTRUCTION], [1],
169
166
              [Does x86 PAUSE instruction exist])