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
bf29b9db
Commit
bf29b9db
authored
Sep 25, 2006
by
kent@mysql.com/c-644072d5.010-2112-6f72651.cust.bredbandsbolaget.se
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/Users/kent/mysql/bk/mysql-4.1
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
parents
7a761a25
878416e0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
scripts/mysql_config.sh
scripts/mysql_config.sh
+8
-7
No files found.
scripts/mysql_config.sh
View file @
bf29b9db
...
@@ -97,11 +97,11 @@ port='@MYSQL_TCP_PORT@'
...
@@ -97,11 +97,11 @@ port='@MYSQL_TCP_PORT@'
ldflags
=
'@LDFLAGS@'
ldflags
=
'@LDFLAGS@'
# Create options
# Create options
# We intentionally add a space to the beginning of lib strings, simplifies replace later
# We intentionally add a space to the beginning
and end
of lib strings, simplifies replace later
libs
=
"
$ldflags
-L
$pkglibdir
-lmysqlclient @ZLIB_DEPS@ @NON_THREADED_LIBS@"
libs
=
"
$ldflags
-L
$pkglibdir
-lmysqlclient @ZLIB_DEPS@ @NON_THREADED_LIBS@"
libs
=
"
$libs
@openssl_libs@ @STATIC_NSS_FLAGS@"
libs
=
"
$libs
@openssl_libs@ @STATIC_NSS_FLAGS@
"
libs_r
=
"
$ldflags
-L
$pkglibdir
-lmysqlclient_r @ZLIB_DEPS@ @LIBS@ @openssl_libs@"
libs_r
=
"
$ldflags
-L
$pkglibdir
-lmysqlclient_r @ZLIB_DEPS@ @LIBS@ @openssl_libs@
"
embedded_libs
=
"
$ldflags
-L
$pkglibdir
-lmysqld @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @innodb_system_libs@ @openssl_libs@"
embedded_libs
=
"
$ldflags
-L
$pkglibdir
-lmysqld @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @innodb_system_libs@ @openssl_libs@
"
cflags
=
"-I
$pkgincludedir
@CFLAGS@ "
#note: end space!
cflags
=
"-I
$pkgincludedir
@CFLAGS@ "
#note: end space!
include
=
"-I
$pkgincludedir
"
include
=
"-I
$pkgincludedir
"
...
@@ -111,8 +111,9 @@ include="-I$pkgincludedir"
...
@@ -111,8 +111,9 @@ include="-I$pkgincludedir"
# and -xstrconst to make --cflags usable for Sun Forte C++
# and -xstrconst to make --cflags usable for Sun Forte C++
for
remove
in
DDBUG_OFF DSAFEMALLOC USAFEMALLOC DSAFE_MUTEX
\
for
remove
in
DDBUG_OFF DSAFEMALLOC USAFEMALLOC DSAFE_MUTEX
\
DPEDANTIC_SAFEMALLOC DUNIV_MUST_NOT_INLINE DFORCE_INIT_OF_VARS
\
DPEDANTIC_SAFEMALLOC DUNIV_MUST_NOT_INLINE DFORCE_INIT_OF_VARS
\
DEXTRA_DEBUG DHAVE_purify
'O[0-9]'
'W[-A-Za-z]*'
\
DEXTRA_DEBUG DHAVE_purify O
'O[0-9]'
'xO[0-9]'
'W[-A-Za-z]*'
\
Xa xstrconst
"xc99=none"
Xa xstrconst
"xc99=none"
\
unroll2 ip mp restrict
do
do
# The first option we might strip will always have a space before it because
# The first option we might strip will always have a space before it because
# we set -I$pkgincludedir as the first option
# we set -I$pkgincludedir as the first option
...
@@ -121,7 +122,7 @@ done
...
@@ -121,7 +122,7 @@ done
cflags
=
`
echo
"
$cflags
"
|sed
-e
's/ *\$//'
`
cflags
=
`
echo
"
$cflags
"
|sed
-e
's/ *\$//'
`
# Same for --libs(_r)
# Same for --libs(_r)
for
remove
in
lmtmalloc
for
remove
in
lmtmalloc
static-libcxa i-static
do
do
# We know the strings starts with a space
# We know the strings starts with a space
libs
=
`
echo
"
$libs
"
|sed
-e
"s/ -
$remove
*/ /g"
`
libs
=
`
echo
"
$libs
"
|sed
-e
"s/ -
$remove
*/ /g"
`
...
...
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