From: Date: October 30 2008 4:09pm Subject: bzr push into mysql-6.0 branch (alik:2719 to 2720) List-Archive: http://lists.mysql.com/commits/57476 Message-Id: <20081030150925.C241B25189@quad.opbmk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 2720 Alexander Nozdrin 2008-10-30 Temporary fix for Solaris 10 on SPARC. Will be moved into falcon/plug.in in the future. modified: configure.in 2719 Alexander Nozdrin 2008-10-30 [merge] Pull from 6.0 === modified file 'configure.in' --- a/configure.in 2008-10-27 15:17:06 +0000 +++ b/configure.in 2008-10-30 15:08:17 +0000 @@ -1795,6 +1795,9 @@ case "$with_atomic_ops" in *) AC_MSG_ERROR(["$with_atomic_ops" is not a valid value for --with-atomic-ops]) ;; esac +# Check if we have the atomic_* functions on Solaris +AC_CHECK_FUNC(atomic_cas_32, AC_DEFINE([HAVE_SOLARIS_ATOMIC], [1], [Define to 1 if Solaris support atomic functions.])) + # Force static compilation to avoid linking problems/get more speed AC_ARG_WITH(mysqld-ldflags, [ --with-mysqld-ldflags Extra linking arguments for mysqld],