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
08d36171
Commit
08d36171
authored
Jan 19, 2001
by
tim@cane.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add --with-server-suffix (MYSQL_SERVER_SUFFIX).
parent
1dd57704
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
1 deletion
+16
-1
configure.in
configure.in
+8
-0
include/mysql_version.h.in
include/mysql_version.h.in
+1
-0
myisam/Makefile.am
myisam/Makefile.am
+1
-0
mysql-test/Makefile.am
mysql-test/Makefile.am
+1
-0
scripts/Makefile.am
scripts/Makefile.am
+1
-0
scripts/mysqlbug.sh
scripts/mysqlbug.sh
+1
-1
sql-bench/Makefile.am
sql-bench/Makefile.am
+1
-0
sql/mysqld.cc
sql/mysqld.cc
+1
-0
support-files/Makefile.am
support-files/Makefile.am
+1
-0
No files found.
configure.in
View file @
08d36171
...
...
@@ -389,6 +389,14 @@ then
AC_MSG_ERROR
([
MySQL requiers a ANSI C compiler
(
and a C++ compiler
)
.
Try gcc. See the Installation chapter
in
the Reference Manual.]
)
fi
AC_ARG_WITH
(
server-suffix,
[
--with-server-suffix
Append value to the version string.],
# I heard that 'cut' isn't portable. Isn't there a better way?
[
MYSQL_SERVER_SUFFIX
=
`
echo
"
$withval
"
|
sed
-e
's/^\(...................................\)..*$/\1/'
`
]
,
[
MYSQL_SERVER_SUFFIX
=
]
)
AC_SUBST
(
MYSQL_SERVER_SUFFIX
)
# Set flags if we wants to have MIT threads.
AC_ARG_WITH
(
mit-threads,
[
--with-mit-threads
Always use included thread lib.],
...
...
include/mysql_version.h.in
View file @
08d36171
...
...
@@ -8,6 +8,7 @@
#else
#define PROTOCOL_VERSION @PROTOCOL_VERSION@
#define MYSQL_SERVER_VERSION "@VERSION@"
#define MYSQL_SERVER_SUFFIX "@MYSQL_SERVER_SUFFIX@"
#define FRM_VER @DOT_FRM_VERSION@
#define MYSQL_VERSION_ID @MYSQL_VERSION_ID@
#define MYSQL_PORT @MYSQL_TCP_PORT@
...
...
myisam/Makefile.am
View file @
08d36171
...
...
@@ -83,6 +83,7 @@ SUFFIXES = .sh
-e
's!@''CXXFLAGS''@!@SAVE_CXXFLAGS@!'
\
-e
's!@''LDFLAGS''@!@SAVE_LDFLAGS@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!'
\
-e
's!@''COMPILATION_COMMENT''@!@COMPILATION_COMMENT@!'
\
-e
's!@''MACHINE_TYPE''@!@MACHINE_TYPE@!'
\
-e
's!@''HOSTNAME''@!@HOSTNAME@!'
\
...
...
mysql-test/Makefile.am
View file @
08d36171
...
...
@@ -62,6 +62,7 @@ SUFFIXES = .sh
-e
's!@''libexecdir''@!
$(libexecdir)
!g'
\
-e
's!@''PERL''@!@PERL@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!'
\
$<
>
$@
-t
@
CHMOD@ +x
$@
-t
@
MV@
$@
-t
$@
...
...
scripts/Makefile.am
View file @
08d36171
...
...
@@ -96,6 +96,7 @@ SUFFIXES = .sh
-e
's!@''LDFLAGS''@!@SAVE_LDFLAGS@!'
\
-e
's!@''CLIENT_LIBS''@!@CLIENT_LIBS@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!'
\
-e
's!@''COMPILATION_COMMENT''@!@COMPILATION_COMMENT@!'
\
-e
's!@''MACHINE_TYPE''@!@MACHINE_TYPE@!'
\
-e
's!@''HOSTNAME''@!@HOSTNAME@!'
\
...
...
scripts/mysqlbug.sh
View file @
08d36171
...
...
@@ -4,7 +4,7 @@
echo
"Finding system information for a MySQL bug report"
VERSION
=
"@VERSION@"
VERSION
=
"@VERSION@
@MYSQL_SERVER_SUFFIX@
"
COMPILATION_COMMENT
=
"@COMPILATION_COMMENT@"
BUGmysql
=
"mysql@lists.mysql.com"
# This is set by configure
...
...
sql-bench/Makefile.am
View file @
08d36171
...
...
@@ -78,6 +78,7 @@ SUFFIXES = .sh
-e
's!@''libexecdir''@!
$(libexecdir)
!g'
\
-e
's!@''PERL''@!@PERL@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!'
\
$<
>
$@
-t
@
CHMOD@ +x
$@
-t
@
MV@
$@
-t
$@
...
...
sql/mysqld.cc
View file @
08d36171
...
...
@@ -1471,6 +1471,7 @@ int main(int argc, char **argv)
strmov
(
glob_hostname
,
"mysql"
);
strmov
(
pidfile_name
,
glob_hostname
);
strmov
(
strcend
(
pidfile_name
,
'.'
),
".pid"
);
// Add extension
strcat
(
server_version
,
MYSQL_SERVER_SUFFIX
);
#ifdef DEMO_VERSION
strcat
(
server_version
,
"-demo"
);
#endif
...
...
support-files/Makefile.am
View file @
08d36171
...
...
@@ -71,6 +71,7 @@ SUFFIXES = .sh
-e
's!@''CXXFLAGS''@!@SAVE_CXXFLAGS@!'
\
-e
's!@''LDFLAGS''@!@SAVE_LDFLAGS@!'
\
-e
's!@''VERSION''@!@VERSION@!'
\
-e
's!@''MYSQL_SERVER_SUFFIX''@!@MYSQL_SERVER_SUFFIX@!'
\
-e
's!@''COMPILATION_COMMENT''@!@COMPILATION_COMMENT@!'
\
-e
's!@''MACHINE_TYPE''@!@MACHINE_TYPE@!'
\
-e
's!@''HOSTNAME''@!@HOSTNAME@!'
\
...
...
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