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
89945d1d
Commit
89945d1d
authored
Feb 20, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
parents
9bc5cdba
2bd261a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
scripts/mysql_config.sh
scripts/mysql_config.sh
+9
-4
No files found.
scripts/mysql_config.sh
View file @
89945d1d
...
@@ -84,20 +84,25 @@ port='@MYSQL_TCP_PORT@'
...
@@ -84,20 +84,25 @@ port='@MYSQL_TCP_PORT@'
ldflags
=
'@LDFLAGS@'
ldflags
=
'@LDFLAGS@'
client_libs
=
'@CLIENT_LIBS@'
client_libs
=
'@CLIENT_LIBS@'
# Create options
, without end space
# Create options
libs
=
"
$ldflags
-L
$pkglibdir
-lmysqlclient
$client_libs
"
libs
=
"
$ldflags
-L
$pkglibdir
-lmysqlclient
$client_libs
"
libs
=
`
echo
"
$libs
"
|
sed
-e
's; \+; ;g'
|
sed
-e
's;^ *;;'
|
sed
-e
's; *\$;;'
`
libs
=
`
echo
"
$libs
"
|
sed
-e
's; \+; ;g'
|
sed
-e
's;^ *;;'
|
sed
-e
's; *\$;;'
`
libs_r
=
"
$ldflags
-L
$pkglibdir
-lmysqlclient_r @LIBS@ @openssl_libs@"
libs_r
=
"
$ldflags
-L
$pkglibdir
-lmysqlclient_r @LIBS@ @openssl_libs@"
libs_r
=
`
echo
"
$libs_r
"
|
sed
-e
's; \+; ;g'
|
sed
-e
's;^ *;;'
|
sed
-e
's; *\$;;'
`
libs_r
=
`
echo
"
$libs_r
"
|
sed
-e
's; \+; ;g'
|
sed
-e
's;^ *;;'
|
sed
-e
's; *\$;;'
`
cflags
=
"-I
$pkgincludedir
@CFLAGS@
"
cflags
=
"-I
$pkgincludedir
@CFLAGS@
"
#note: end space!
include
=
"-I
$pkgincludedir
"
include
=
"-I
$pkgincludedir
"
embedded_libs
=
"
$ldflags
-L
$pkglibdir
-lmysqld @LIBS@ @WRAPLIBS@ @innodb_system_libs@"
embedded_libs
=
"
$ldflags
-L
$pkglibdir
-lmysqld @LIBS@ @WRAPLIBS@ @innodb_system_libs@"
embedded_libs
=
`
echo
"
$embedded_libs
"
|
sed
-e
's; \+; ;g'
|
sed
-e
's;^ *;;'
|
sed
-e
's; *\$;;'
`
embedded_libs
=
`
echo
"
$embedded_libs
"
|
sed
-e
's; \+; ;g'
|
sed
-e
's;^ *;;'
|
sed
-e
's; *\$;;'
`
# Remove some options that a client doesn't have to care about
# Remove some options that a client doesn't have to care about
for
remove
in
DDBUG_OFF DSAFEMALLOC USAFEMALLOC DSAFE_MUTEX
\
cflags
=
`
echo
"
$cflags
"
|
sed
-e
's;\(-DDBUG_OFF\|-DSAFEMALLOC\|-USAFEMALLOC\|-DSAFE_MUTEX\|-DPEDANTIC_SAFEMALLOC\|-DUNIV_MUST_NOT_INLINE\|-DFORCE_INIT_OF_VARS\|-DEXTRA_DEBUG\|-DHAVE_purify\|-O[0-9]\|-W[-A-Za-z]*\) *;;g'
|
sed
-e
's; *\$;;'
`
DPEDANTIC_SAFEMALLOC DUNIV_MUST_NOT_INLINE DFORCE_INIT_OF_VARS
\
DEXTRA_DEBUG DHAVE_purify
'O[0-9]'
'W[-A-Za-z]*'
do
cflags
=
`
echo
"
$cflags
"
|sed
-e
"s/-
$remove
*//g"
`
done
cflags
=
`
echo
"
$cflags
"
|sed
-e
's/ *\$//'
`
usage
()
{
usage
()
{
cat
<<
EOF
cat
<<
EOF
...
...
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