Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
7d5e413f
Commit
7d5e413f
authored
Dec 20, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
automatically configure with shared memory transporter for ndb if functions are available
parent
7b47be89
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
22 deletions
+15
-22
acinclude.m4
acinclude.m4
+0
-18
configure.in
configure.in
+15
-4
No files found.
acinclude.m4
View file @
7d5e413f
...
@@ -1599,11 +1599,6 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
...
@@ -1599,11 +1599,6 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
;;
;;
esac
esac
AC_ARG_WITH([ndb-shm],
[
--with-ndb-shm Include the NDB Cluster shared memory transporter],
[ndb_shm="$withval"],
[ndb_shm=no])
AC_ARG_WITH([ndb-test],
AC_ARG_WITH([ndb-test],
[
[
--with-ndb-test Include the NDB Cluster ndbapi test programs],
--with-ndb-test Include the NDB Cluster ndbapi test programs],
...
@@ -1633,19 +1628,6 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
...
@@ -1633,19 +1628,6 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
AC_MSG_CHECKING([for NDB Cluster options])
AC_MSG_CHECKING([for NDB Cluster options])
AC_MSG_RESULT([])
AC_MSG_RESULT([])
have_ndb_shm=no
case "$ndb_shm" in
yes )
AC_MSG_RESULT([-- including shared memory transporter])
AC_DEFINE([NDB_SHM_TRANSPORTER], [1],
[Including Ndb Cluster DB shared memory transporter])
have_ndb_shm="yes"
;;
* )
AC_MSG_RESULT([-- not including shared memory transporter])
;;
esac
have_ndb_test=no
have_ndb_test=no
case "$ndb_test" in
case "$ndb_test" in
yes )
yes )
...
...
configure.in
View file @
7d5e413f
...
@@ -1923,7 +1923,9 @@ AC_CHECK_FUNCS(alarm bcmp bfill bmove bzero chsize cuserid fchmod fcntl \
...
@@ -1923,7 +1923,9 @@ AC_CHECK_FUNCS(alarm bcmp bfill bmove bzero chsize cuserid fchmod fcntl \
pthread_attr_setstacksize pthread_condattr_create pthread_getsequence_np
\
pthread_attr_setstacksize pthread_condattr_create pthread_getsequence_np
\
pthread_key_delete pthread_rwlock_rdlock pthread_setprio
\
pthread_key_delete pthread_rwlock_rdlock pthread_setprio
\
pthread_setprio_np pthread_setschedparam pthread_sigmask readlink
\
pthread_setprio_np pthread_setschedparam pthread_sigmask readlink
\
realpath rename rint rwlock_init setupterm sighold sigset sigthreadmask
\
realpath rename rint rwlock_init setupterm
\
shmget shmat shmdt shmctl
\
sighold sigset sigthreadmask
\
snprintf socket stpcpy strcasecmp strerror strnlen strpbrk strstr strtol
\
snprintf socket stpcpy strcasecmp strerror strnlen strpbrk strstr strtol
\
strtoll strtoul strtoull tell tempnam thr_setconcurrency vidattr)
strtoll strtoul strtoull tell tempnam thr_setconcurrency vidattr)
...
@@ -3078,10 +3080,19 @@ fi
...
@@ -3078,10 +3080,19 @@ fi
AC_SUBST
([
ndb_port_base]
)
AC_SUBST
([
ndb_port_base]
)
ndb_transporter_opt_objs
=
""
ndb_transporter_opt_objs
=
""
if
test
X
"
$have_ndb_shm
"
=
Xyes
if
test
"
$ac_cv_func_shmget
"
=
"yes"
&&
then
test
"
$ac_cv_func_shmat
"
=
"yes"
&&
test
"
$ac_cv_func_shmdt
"
=
"yes"
&&
test
"
$ac_cv_func_shmctl
"
=
"yes"
then
AC_DEFINE
([
NDB_SHM_TRANSPORTER],
[
1],
[
Including Ndb Cluster DB shared memory transporter]
)
AC_MSG_RESULT
([
Including ndb shared memory transporter]
)
ndb_transporter_opt_objs
=
"
$ndb_transporter_opt_objs
SHM_Transporter.lo SHM_Transporter.unix.lo"
ndb_transporter_opt_objs
=
"
$ndb_transporter_opt_objs
SHM_Transporter.lo SHM_Transporter.unix.lo"
else
AC_MSG_RESULT
([
Not including ndb shared memory transporter]
)
fi
fi
if
test
X
"
$have_ndb_sci
"
=
Xyes
if
test
X
"
$have_ndb_sci
"
=
Xyes
then
then
ndb_transporter_opt_objs
=
"
$ndb_transporter_opt_objs
SCI_Transporter.lo"
ndb_transporter_opt_objs
=
"
$ndb_transporter_opt_objs
SCI_Transporter.lo"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment