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
7726d4b5
Commit
7726d4b5
authored
Sep 20, 2002
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added testing of glibc compiled with static nss (as on the MySQL build machine)
parent
cb8580a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
configure.in
configure.in
+19
-2
No files found.
configure.in
View file @
7726d4b5
...
...
@@ -453,6 +453,7 @@ fi
NOINST_LDFLAGS
=
static_nss
=
""
AC_ARG_WITH
(
other-libc,
[
--with-other-libc
=
DIR Link against libc and other standard libraries
installed
in
the specified non-standard location
...
...
@@ -472,7 +473,6 @@ AC_ARG_WITH(other-libc,
# by telling it to be permissive. Note that this option only works with
# new versions of gcc (2.95.x and above)
CXXFLAGS
=
"
$CXXFLAGS
-fpermissive -I
$other_libc_include
"
static_nss
=
if
test
-f
"
$other_libc_lib
/libnss_files.a"
then
# libc has been compiled with --enable-static-nss
...
...
@@ -507,6 +507,23 @@ AC_ARG_WITH(other-libc,
)
AC_SUBST
(
NOINST_LDFLAGS
)
#
# Check if we are using Linux and a glibc compiled with static nss
# (this is true on the MySQL build machines to avoid NSS problems)
#
if
test
"
$IS_LINUX
"
=
"true"
-a
"
$static_nss
"
=
""
then
tmp
=
`
nm /usr/lib/libc.a |
grep
_nss_files_getaliasent_r
`
if
test
-n
"
$tmp
"
then
STATIC_NSS_FLAGS
=
"-Wl,--start-group -lc -lnss_files -lnss_dns -lresolv
\
-Wl,--end-group"
static_nss
=
1
fi
fi
AC_ARG_WITH
(
server-suffix,
[
--with-server-suffix
Append value to the version string.],
[
MYSQL_SERVER_SUFFIX
=
`
echo
"
$withval
"
|
sed
-e
's/^\(...................................\)..*$/\1/'
`
]
,
...
...
@@ -1392,7 +1409,7 @@ else
CXXFLAGS
=
"
$OPTIMIZE_CXXFLAGS
-DDBUG_OFF
$CXXFLAGS
"
fi
# Force static compilation to avoid linking probles/get more speed
# Force static compilation to avoid linking proble
m
s/get more speed
AC_ARG_WITH
(
mysqld-ldflags,
[
--with-mysqld-ldflags
Extra linking arguments
for
mysqld],
[
MYSQLD_EXTRA_LDFLAGS
=
$withval
]
,
...
...
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