~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/plugin.ac

  • Committer: Brian Aker
  • Date: 2010-10-22 14:29:31 UTC
  • mto: This revision was merged to the branch mainline in revision 1872.
  • Revision ID: brian@tangent.org-20101022142931-uhy43hb33rasy0fg
Usage of find_temporary_table() to identifier.

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
  # http://bugs.opensolaris.org/bugdatabase/printableBug.do?bug_id=6478684
153
153
  # We use ib_ prefix to avoid collisoins if this code is added to
154
154
  # 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}"
155
158
  AC_RUN_IFELSE([AC_LANG_PROGRAM([[]],[[
156
159
        __asm__ __volatile__ ("pause");
157
160
    ]])],[
160
163
      ac_cv_plugin_innodb_has_pause=no
161
164
    ])
162
165
  ])
 
166
  CFLAGS="${save_CFLAGS}"
163
167
  AS_IF([test "${ac_cv_plugin_innodb_has_pause}" = "yes"],[
164
168
    AC_DEFINE([IB_HAVE_PAUSE_INSTRUCTION], [1],
165
169
              [Does x86 PAUSE instruction exist])