~ubuntu-branches/debian/squeeze/mysql-5.1/squeeze

« back to all changes in this revision

Viewing changes to storage/innodb_plugin/plug.in

  • Committer: Package Import Robot
  • Author(s): Moritz Muehlenhoff
  • Date: 2014-01-14 10:40:30 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20140114104030-44alii0hx3x3g41y
Tags: 5.1.73-1
* New upstream release
  http://dev.mysql.com/doc/relnotes/mysql/5.1/en/news-5-1-73.html
* Update patches
* Disable flaky test rpl.rpl_innodb_bug28430 breaking the build. It's  marked
  as experimental by upstream and the internet is full of reports about it's
  unrelialibity

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., 59 Temple
14
 
# Place, Suite 330, Boston, MA 02111-1307 USA
 
13
# this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St,
 
14
# Fifth Floor, Boston, MA 02110-1301, USA
15
15
#
16
16
 
17
17
MYSQL_STORAGE_ENGINE(innodb_plugin,, [InnoDB Storage Engine],
18
18
        [Transactional Tables using InnoDB], [max,max-no-ndb])
19
19
MYSQL_PLUGIN_DIRECTORY(innodb_plugin, [storage/innodb_plugin])
 
20
# Enable if you know what you are doing (trying to link both InnoDB and
 
21
# InnoDB Plugin statically into MySQL does not work).
 
22
#MYSQL_PLUGIN_STATIC(innodb_plugin, [libinnobase.a])
20
23
MYSQL_PLUGIN_DYNAMIC(innodb_plugin,  [ha_innodb_plugin.la])
21
24
MYSQL_PLUGIN_ACTIONS(innodb_plugin,  [
22
25
  AC_CHECK_HEADERS(sched.h)
136
139
  )
137
140
 
138
141
  AC_MSG_CHECKING(whether Solaris libc atomic functions are available)
139
 
  # either define HAVE_IB_SOLARIS_ATOMICS or not
140
 
  AC_CHECK_FUNCS(atomic_add_long \
 
142
  # Define HAVE_IB_SOLARIS_ATOMICS if _all_ of the following
 
143
  # functions are present.
 
144
  AC_CHECK_FUNCS(atomic_add_long_nv \
141
145
                 atomic_cas_32 \
142
146
                 atomic_cas_64 \
143
 
                 atomic_cas_ulong,
144
 
 
145
 
                 AC_DEFINE([HAVE_IB_SOLARIS_ATOMICS], [1],
146
 
                           [Define to 1 if Solaris libc atomic functions \
147
 
                            are available])
148
 
  )
 
147
                 atomic_cas_ulong \
 
148
                 atomic_swap_uchar)
 
149
 
 
150
  if test "${ac_cv_func_atomic_add_long_nv}" = "yes" -a \
 
151
          "${ac_cv_func_atomic_cas_32}" = "yes" -a \
 
152
          "${ac_cv_func_atomic_cas_64}" = "yes" -a \
 
153
          "${ac_cv_func_atomic_cas_ulong}" = "yes" -a \
 
154
          "${ac_cv_func_atomic_swap_uchar}" = "yes" ; then
 
155
 
 
156
    AC_DEFINE([HAVE_IB_SOLARIS_ATOMICS], [1],
 
157
      [Define to 1 if Solaris libc atomic functions are available]
 
158
    )
 
159
  fi
149
160
 
150
161
  AC_MSG_CHECKING(whether pthread_t can be used by Solaris libc atomic functions)
151
162
  # either define HAVE_IB_ATOMIC_PTHREAD_T_SOLARIS or not