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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
fff33634
Commit
fff33634
authored
May 25, 2004
by
tomas@poseidon.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated configure for automake in ndb tree
parent
b75c0a93
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
103 additions
and
10 deletions
+103
-10
acinclude.m4
acinclude.m4
+1
-1
configure.in
configure.in
+102
-9
No files found.
acinclude.m4
View file @
fff33634
...
@@ -1355,7 +1355,7 @@ AC_DEFUN([MYSQL_CHECK_NDBCLUSTER], [
...
@@ -1355,7 +1355,7 @@ AC_DEFUN([MYSQL_CHECK_NDBCLUSTER], [
AC_DEFINE(HAVE_NDBCLUSTER_DB)
AC_DEFINE(HAVE_NDBCLUSTER_DB)
have_ndbcluster="yes"
have_ndbcluster="yes"
ndbcluster_includes="-I../ndb/include -I../ndb/include/ndbapi"
ndbcluster_includes="-I../ndb/include -I../ndb/include/ndbapi"
ndbcluster_libs="\$(top_builddir)/ndb/
lib/libNDB_API.
a"
ndbcluster_libs="\$(top_builddir)/ndb/
src/ndbapi/libNDB_API.l
a"
ndbcluster_system_libs=""
ndbcluster_system_libs=""
;;
;;
* )
* )
...
...
configure.in
View file @
fff33634
...
@@ -1613,15 +1613,19 @@ then
...
@@ -1613,15 +1613,19 @@ then
# Medium debug.
# Medium debug.
CFLAGS
=
"
$DEBUG_CFLAGS
$DEBUG_OPTIMIZE_CC
-DDBUG_ON -DSAFE_MUTEX
$CFLAGS
"
CFLAGS
=
"
$DEBUG_CFLAGS
$DEBUG_OPTIMIZE_CC
-DDBUG_ON -DSAFE_MUTEX
$CFLAGS
"
CXXFLAGS
=
"
$DEBUG_CXXFLAGS
$DEBUG_OPTIMIZE_CXX
-DSAFE_MUTEX
$CXXFLAGS
"
CXXFLAGS
=
"
$DEBUG_CXXFLAGS
$DEBUG_OPTIMIZE_CXX
-DSAFE_MUTEX
$CXXFLAGS
"
#NDB_DEFS="-DNDB_RELEASE -DUSE_EMULATED_JAM -DVM_TRACE -DERROR_INSERT -DARRAY_GUARD"
NDB_DEFS
=
"-DNDB_DEBUG -DUSE_EMULATED_JAM -DVM_TRACE -DERROR_INSERT -DARRAY_GUARD"
elif
test
"
$with_debug
"
=
"full"
elif
test
"
$with_debug
"
=
"full"
then
then
# Full debug. Very slow in some cases
# Full debug. Very slow in some cases
CFLAGS
=
"
$DEBUG_CFLAGS
-DDBUG_ON -DSAFE_MUTEX -DSAFEMALLOC
$CFLAGS
"
CFLAGS
=
"
$DEBUG_CFLAGS
-DDBUG_ON -DSAFE_MUTEX -DSAFEMALLOC
$CFLAGS
"
CXXFLAGS
=
"
$DEBUG_CXXFLAGS
-DSAFE_MUTEX -DSAFEMALLOC
$CXXFLAGS
"
CXXFLAGS
=
"
$DEBUG_CXXFLAGS
-DSAFE_MUTEX -DSAFEMALLOC
$CXXFLAGS
"
NDB_DEFS
=
"-DNDB_DEBUG -DUSE_EMULATED_JAM -DVM_TRACE -DERROR_INSERT -DARRAY_GUARD"
else
else
# Optimized version. No debug
# Optimized version. No debug
CFLAGS
=
"
$OPTIMIZE_CFLAGS
-DDBUG_OFF
$CFLAGS
"
CFLAGS
=
"
$OPTIMIZE_CFLAGS
-DDBUG_OFF
$CFLAGS
"
CXXFLAGS
=
"
$OPTIMIZE_CXXFLAGS
-DDBUG_OFF
$CXXFLAGS
"
CXXFLAGS
=
"
$OPTIMIZE_CXXFLAGS
-DDBUG_OFF
$CXXFLAGS
"
NDB_DEFS
=
"-DNDB_RELEASE -DUSE_EMULATED_JAM -DNDEBUG"
fi
fi
# Force static compilation to avoid linking problems/get more speed
# Force static compilation to avoid linking problems/get more speed
...
@@ -2761,15 +2765,6 @@ EOF
...
@@ -2761,15 +2765,6 @@ EOF
exit
1
exit
1
fi
fi
sql_server_dirs
=
"
$sql_server_dirs
ndb"
sql_server_dirs
=
"
$sql_server_dirs
ndb"
echo
"CONFIGURING FOR NDB CLUSTER"
case
$with_debug
in
no
)
flag
=
"-R"
;;
*
)
flag
=
"-D"
;;
esac
flag
=
"
$flag
--VERSION=
$VERSION
--PACKAGE=
$PACKAGE
"
(
cd
ndb
&&
./configure
$flag
)
\
||
AC_MSG_ERROR
([
could not configure NDB Cluster]
)
echo
"END OF NDB CLUSTER CONFIGURATION"
fi
fi
#
#
# END of configuration for optional table handlers
# END of configuration for optional table handlers
...
@@ -2832,14 +2827,112 @@ case $SYSTEM_TYPE in
...
@@ -2832,14 +2827,112 @@ case $SYSTEM_TYPE in
MAKE_BINARY_DISTRIBUTION_OPTIONS
=
MAKE_BINARY_DISTRIBUTION_OPTIONS
=
;;
;;
esac
esac
if
test
X
"
$have_ndbcluster
"
=
Xyes
if
test
X
"
$have_ndbcluster
"
=
Xyes
then
then
MAKE_BINARY_DISTRIBUTION_OPTIONS
=
"
$MAKE_BINARY_DISTRIBUTION_OPTIONS
--with-ndbcluster"
MAKE_BINARY_DISTRIBUTION_OPTIONS
=
"
$MAKE_BINARY_DISTRIBUTION_OPTIONS
--with-ndbcluster"
CXXFLAGS
=
"
$CXXFLAGS
\$
(NDB_CXXFLAGS)"
NDB_UTIL_INCLUDES
=
"-I
\$
(srcdir) -I
\$
(top_srcdir)/include -I
\$
(top_srcdir)/ndb/include
\
-I
\$
(top_srcdir)/ndb/include/util
\
-I
\$
(top_srcdir)/ndb/include/portlib
\
-I
\$
(top_srcdir)/ndb/include/logger"
NDB_KERNEL_INCLUDES
=
"
\
-I
\$
(srcdir) -I
\$
(top_srcdir)/include -I
\$
(top_srcdir)/ndb/include
\
-I
\$
(top_srcdir)/ndb/src/kernel/vm
\
-I
\$
(top_srcdir)/ndb/src/kernel/error
\
-I
\$
(top_srcdir)/ndb/src/kernel
\
-I
\$
(top_srcdir)/ndb/include/kernel
\
-I
\$
(top_srcdir)/ndb/include/transporter
\
-I
\$
(top_srcdir)/ndb/include/debugger
\
-I
\$
(top_srcdir)/ndb/include/mgmcommon
\
-I
\$
(top_srcdir)/ndb/include/ndbapi
\
-I
\$
(top_srcdir)/ndb/include/util
\
-I
\$
(top_srcdir)/ndb/include/portlib
\
-I
\$
(top_srcdir)/ndb/include/logger"
NDB_NDBAPI_INCLUDES
=
"
\
-I
\$
(srcdir) -I
\$
(top_srcdir)/include -I
\$
(top_srcdir)/ndb/include
\
-I
\$
(top_srcdir)/ndb/include/kernel
\
-I
\$
(top_srcdir)/ndb/include/transporter
\
-I
\$
(top_srcdir)/ndb/include/debugger
\
-I
\$
(top_srcdir)/ndb/include/mgmcommon
\
-I
\$
(top_srcdir)/ndb/include/ndbapi
\
-I
\$
(top_srcdir)/ndb/include/util
\
-I
\$
(top_srcdir)/ndb/include/portlib
\
-I
\$
(top_srcdir)/ndb/include/logger"
NDB_NDBAPITEST_INCLUDES
=
"
\
-I
\$
(srcdir) -I
\$
(top_srcdir)/include -I
\$
(top_srcdir)/ndb/include
\
-I
\$
(top_srcdir)/ndb/include/ndbapi
\
-I
\$
(top_srcdir)/ndb/include/util
\
-I
\$
(top_srcdir)/ndb/include/portlib
\
-I
\$
(top_srcdir)/ndb/test/include
\
-I
\$
(top_srcdir)/ndb/include/mgmapi"
NDB_NDBAPICLIENT_INCLUDES
=
"-I
\$
(top_srcdir)/ndb/include/ndbapi"
NDB_MGMAPICLIENT_INCLUDES
=
"-I
\$
(top_srcdir)/ndb/include/mgmapi"
AC_SUBST
(
NDB_DEFS
)
AC_SUBST
(
NDB_UTIL_INCLUDES
)
AC_SUBST
(
NDB_UTIL_INCLUDES
)
AC_SUBST
(
NDB_KERNEL_INCLUDES
)
AC_SUBST
(
NDB_NDBAPI_INCLUDES
)
AC_SUBST
(
NDB_NDBAPITEST_INCLUDES
)
AC_SUBST
(
NDB_NDBAPICLIENT_INCLUDES
)
AC_SUBST
(
NDB_MGMAPICLIENT_INCLUDES
)
define
(
NDB_MAKEFILES,
[
dnl
ndb/Makefile ndb/src/Makefile ndb/src/common/Makefile dnl
ndb/src/common/portlib/Makefile dnl
ndb/src/common/portlib/unix/Makefile dnl
ndb/src/common/debugger/Makefile dnl
ndb/src/common/debugger/signaldata/Makefile dnl
ndb/src/common/util/Makefile dnl
ndb/src/common/logger/Makefile dnl
ndb/src/common/transporter/Makefile dnl
ndb/src/common/mgmcommon/Makefile dnl
ndb/src/common/editline/Makefile dnl
ndb/src/kernel/Makefile dnl
ndb/src/kernel/error/Makefile dnl
ndb/src/kernel/blocks/Makefile dnl
ndb/src/kernel/blocks/cmvmi/Makefile dnl
ndb/src/kernel/blocks/dbacc/Makefile dnl
ndb/src/kernel/blocks/dbdict/Makefile dnl
ndb/src/kernel/blocks/dbdih/Makefile dnl
ndb/src/kernel/blocks/dblqh/Makefile dnl
ndb/src/kernel/blocks/dbtc/Makefile dnl
ndb/src/kernel/blocks/dbtup/Makefile dnl
ndb/src/kernel/blocks/ndbfs/Makefile dnl
ndb/src/kernel/blocks/ndbcntr/Makefile dnl
ndb/src/kernel/blocks/qmgr/Makefile dnl
ndb/src/kernel/blocks/trix/Makefile dnl
ndb/src/kernel/blocks/backup/Makefile dnl
ndb/src/kernel/blocks/backup/restore/Makefile dnl
ndb/src/kernel/blocks/dbutil/Makefile dnl
ndb/src/kernel/blocks/suma/Makefile dnl
ndb/src/kernel/blocks/grep/Makefile dnl
ndb/src/kernel/blocks/dbtux/Makefile dnl
ndb/src/kernel/vm/Makefile dnl
ndb/src/kernel/ndb-main/Makefile dnl
ndb/src/mgmapi/Makefile dnl
ndb/src/ndbapi/Makefile dnl
ndb/src/mgmsrv/Makefile dnl
ndb/src/mgmclient/Makefile dnl
ndb/src/cw/Makefile dnl
ndb/src/cw/cpcd/Makefile dnl
ndb/test/Makefile dnl
ndb/test/src/Makefile dnl
ndb/test/ndbapi/Makefile dnl
ndb/test/ndbapi/flexBench/Makefile dnl
])
fi
fi
AC_SUBST
(
MAKE_BINARY_DISTRIBUTION_OPTIONS
)
AC_SUBST
(
MAKE_BINARY_DISTRIBUTION_OPTIONS
)
# Output results
# Output results
ifdef
([
NDB_MAKEFILES],,[define
(
NDB_MAKEFILES,
[])])
AC_OUTPUT
(
Makefile extra/Makefile mysys/Makefile isam/Makefile dnl
AC_OUTPUT
(
Makefile extra/Makefile mysys/Makefile isam/Makefile dnl
NDB_MAKEFILES dnl
strings/Makefile regex/Makefile heap/Makefile dnl
strings/Makefile regex/Makefile heap/Makefile dnl
bdb/Makefile dnl
bdb/Makefile dnl
myisam/Makefile myisammrg/Makefile dnl
myisam/Makefile myisammrg/Makefile dnl
...
...
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