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
d89faffb
Commit
d89faffb
authored
Dec 28, 2008
by
Joerg Bruehe
Browse files
Options
Browse Files
Download
Plain Diff
Merge from main 5.0 tree (includes 5.0.74), in preparation for pushing back.
parents
4a24f7a8
f334f094
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
20 deletions
+44
-20
BUILD/compile-dist
BUILD/compile-dist
+28
-8
configure.in
configure.in
+16
-12
No files found.
BUILD/compile-dist
View file @
d89faffb
...
@@ -15,30 +15,49 @@ autoconf
...
@@ -15,30 +15,49 @@ autoconf
(
cd
bdb/dist
&&
sh s_all
)
(
cd
bdb/dist
&&
sh s_all
)
(
cd
innobase
&&
aclocal
&&
autoheader
&&
aclocal
&&
automake
&&
autoconf
)
(
cd
innobase
&&
aclocal
&&
autoheader
&&
aclocal
&&
automake
&&
autoconf
)
gmake
=
for
x
in
gmake gnumake make
;
do
if
$x
--version
2>/dev/null |
grep
GNU
>
/dev/null
;
then
gmake
=
$x
break
;
fi
done
if
[
-z
"
$gmake
"
]
;
then
# Our build may not depend on GNU make, but I wouldn't count on it
echo
"Please install GNU make, and ensure it is in your path as gnumake, gmake, or make"
>
&2
exit
2
fi
# Default to gcc for CC and CXX
# Default to gcc for CC and CXX
if
test
-z
"
$CXX
"
;
then
if
test
-z
"
$CXX
"
;
then
export
CXX
=
gcc
export
CXX
CXX
=
gcc
# Set some required compile options
# Set some required compile options
if
test
-z
"
$CXXFLAGS
"
;
then
if
test
-z
"
$CXXFLAGS
"
;
then
export
CXXFLAGS
=
"-felide-constructors -fno-exceptions -fno-rtti"
export
CXXFLAGS
CXXFLAGS
=
"-felide-constructors -fno-exceptions -fno-rtti"
fi
fi
fi
fi
if
test
-z
"
$CC
"
;
then
if
test
-z
"
$CC
"
;
then
export
CC
=
gcc
export
CC
CC
=
gcc
fi
fi
# Use ccache, if available
# Use ccache, if available
if
ccache
-V
>
/dev/null 2>&1
if
ccache
-V
>
/dev/null 2>&1
then
then
if
!
(
echo
"
$CC
"
|
grep
"ccache"
>
/dev/null
)
if
echo
"
$CC
"
|
grep
-v
ccache
>
/dev/null
then
then
export
CC
=
"ccache
$CC
"
export
CC
CC
=
"ccache
$CC
"
fi
fi
if
!
(
echo
"
$CXX
"
|
grep
"ccache"
>
/dev/null
)
if
echo
"
$CXX
"
|
grep
-v
ccache
>
/dev/null
then
then
export
CXX
=
"ccache
$CXX
"
export
CXX
CXX
=
"ccache
$CXX
"
fi
fi
fi
fi
...
@@ -50,4 +69,5 @@ fi
...
@@ -50,4 +69,5 @@ fi
--enable-thread-safe-client
\
--enable-thread-safe-client
\
--with-extra-charsets
=
complex
\
--with-extra-charsets
=
complex
\
--with-ndbcluster
--with-ndbcluster
make
$gmake
configure.in
View file @
d89faffb
...
@@ -409,7 +409,7 @@ fi
...
@@ -409,7 +409,7 @@ fi
MYSQL_PROG_AR
MYSQL_PROG_AR
# libmysqlclient versioning when linked with GNU ld.
# libmysqlclient versioning when linked with GNU ld.
if
$LD
--version
2>/dev/null|grep
-q
GNU
;
then
if
$LD
--version
2>/dev/null|grep
GNU
>
/dev/null
;
then
LD_VERSION_SCRIPT
=
"-Wl,--version-script=
\$
(top_builddir)/libmysql/libmysql.ver"
LD_VERSION_SCRIPT
=
"-Wl,--version-script=
\$
(top_builddir)/libmysql/libmysql.ver"
AC_CONFIG_FILES
(
libmysql/libmysql.ver
)
AC_CONFIG_FILES
(
libmysql/libmysql.ver
)
fi
fi
...
@@ -437,11 +437,13 @@ dnl Find paths to some shell programs
...
@@ -437,11 +437,13 @@ dnl Find paths to some shell programs
AC_PATH_PROG
(
LN,
ln
,
ln
)
AC_PATH_PROG
(
LN,
ln
,
ln
)
# This must be able to take a -f flag like normal unix ln.
# This must be able to take a -f flag like normal unix ln.
AC_PATH_PROG
(
LN_CP_F,
ln
,
ln
)
AC_PATH_PROG
(
LN_CP_F,
ln
,
ln
)
if
!
(
expr
"
$SYSTEM_TYPE
"
:
".*netware.*"
>
/dev/null
)
;
then
if
expr
"
$SYSTEM_TYPE
"
:
".*netware.*"
>
/dev/null
;
then
# If ln -f does not exists use -s (AFS systems)
:
if
test
-n
"
$LN_CP_F
"
;
then
else
# If ln -f does not exists use -s (AFS systems)
if
test
-n
"
$LN_CP_F
"
;
then
LN_CP_F
=
"
$LN_CP_F
-s"
LN_CP_F
=
"
$LN_CP_F
-s"
fi
fi
fi
fi
AC_PATH_PROG
(
MV,
mv
,
mv
)
AC_PATH_PROG
(
MV,
mv
,
mv
)
...
@@ -1940,14 +1942,16 @@ MYSQL_CHECK_IN_ADDR_T
...
@@ -1940,14 +1942,16 @@ MYSQL_CHECK_IN_ADDR_T
# Do the c++ compiler have a bool type
# Do the c++ compiler have a bool type
MYSQL_CXX_BOOL
MYSQL_CXX_BOOL
# Check some common bugs with gcc 2.8.# on sparc
# Check some common bugs with gcc 2.8.# on sparc
if
!
(
expr
"
$SYSTEM_TYPE
"
:
".*netware.*"
>
/dev/null
)
;
then
if
expr
"
$SYSTEM_TYPE
"
:
".*netware.*"
>
/dev/null
;
then
MYSQL_CHECK_LONGLONG_TO_FLOAT
:
if
test
"
$ac_cv_conv_longlong_to_float
"
!=
"yes"
else
then
MYSQL_CHECK_LONGLONG_TO_FLOAT
if
test
"
$ac_cv_conv_longlong_to_float
"
!=
"yes"
then
AC_MSG_ERROR
([
Your compiler cannot convert a longlong value to a float!
AC_MSG_ERROR
([
Your compiler cannot convert a longlong value to a float!
If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer and try
If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer and try
again]
)
again]
)
fi
fi
fi
fi
AC_CHECK_TYPES
([
sigset_t, off_t],
[]
,
[]
,
[
#include <sys/types.h>])
AC_CHECK_TYPES
([
sigset_t, off_t],
[]
,
[]
,
[
#include <sys/types.h>])
AC_CHECK_TYPES
([
size_t],
[]
,
[]
,
[
#include <stdio.h>])
AC_CHECK_TYPES
([
size_t],
[]
,
[]
,
[
#include <stdio.h>])
...
...
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