~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/plugin.ac

  • Committer: Lee Bieber
  • Date: 2010-11-23 19:03:57 UTC
  • mfrom: (1948.1.1 bug675395)
  • Revision ID: kalebral@gmail.com-20101123190357-rn1wpwvc8ut3nj7w
Merge Monty - fix bug 675395: checking for x86 PAUSE instruction... no is wrong

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])