~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/plugin.ac

  • Committer: Monty Taylor
  • Date: 2010-11-23 18:04:36 UTC
  • mto: (1953.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1950.
  • Revision ID: mordred@inaugust.com-20101123180436-3guk4vioaj2c37wk
A warning was masking the ability to use PAUSE.

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}"
158
155
  AC_RUN_IFELSE([AC_LANG_PROGRAM([[]],[[
159
156
        __asm__ __volatile__ ("pause");
160
157
    ]])],[
163
160
      ac_cv_plugin_innodb_has_pause=no
164
161
    ])
165
162
  ])
166
 
  CFLAGS="${save_CFLAGS}"
167
163
  AS_IF([test "${ac_cv_plugin_innodb_has_pause}" = "yes"],[
168
164
    AC_DEFINE([IB_HAVE_PAUSE_INSTRUCTION], [1],
169
165
              [Does x86 PAUSE instruction exist])