~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/plugin.ac

  • Committer: Monty Taylor
  • Date: 2010-04-22 02:46:23 UTC
  • mto: (1497.3.4 enable-dtrace)
  • mto: This revision was merged to the branch mainline in revision 1527.
  • Revision ID: mordred@inaugust.com-20100422024623-4urw8fi8eraci08p
Don't overwrite the pandora_vc_revinfo file if we don't have new
authoratative information.

Show diffs side-by-side

added added

removed removed

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