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
c5c1a5fe
Commit
c5c1a5fe
authored
Oct 10, 2002
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libraries should be always prepended to $LIBS, never appended
parent
023be8ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
configure.in
configure.in
+4
-4
No files found.
configure.in
View file @
c5c1a5fe
...
@@ -735,7 +735,7 @@ AC_ARG_WITH(libwrap,
...
@@ -735,7 +735,7 @@ AC_ARG_WITH(libwrap,
_libs
=
${
LIBS
}
_libs
=
${
LIBS
}
AC_CHECK_HEADER
(
tcpd.h,
AC_CHECK_HEADER
(
tcpd.h,
LIBS
=
"
$LIBS
-lwrap
"
LIBS
=
"
-lwrap
$LIBS
"
AC_MSG_CHECKING
(
for
TCP wrappers library
-lwrap
)
AC_MSG_CHECKING
(
for
TCP wrappers library
-lwrap
)
AC_TRY_LINK
([
#include <tcpd.h>
AC_TRY_LINK
([
#include <tcpd.h>
int allow_severity
=
0
;
int allow_severity
=
0
;
...
@@ -1231,7 +1231,7 @@ fi
...
@@ -1231,7 +1231,7 @@ fi
AC_MSG_CHECKING
(
"named thread libs:"
)
AC_MSG_CHECKING
(
"named thread libs:"
)
if
test
"
$with_named_thread
"
!=
"no"
if
test
"
$with_named_thread
"
!=
"no"
then
then
LIBS
=
"
$with_named_thread
$LIBS
$with_named_thread
"
LIBS
=
"
$with_named_thread
$LIBS
"
with_posix_threads
=
"yes"
with_posix_threads
=
"yes"
with_mit_threads
=
"no"
with_mit_threads
=
"no"
AC_MSG_RESULT
(
"
$with_named_thread
"
)
AC_MSG_RESULT
(
"
$with_named_thread
"
)
...
@@ -1250,7 +1250,7 @@ else
...
@@ -1250,7 +1250,7 @@ else
then
then
AC_MSG_CHECKING
(
"for pthread_create in -lpthread"
)
;
AC_MSG_CHECKING
(
"for pthread_create in -lpthread"
)
;
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
-lpthread
"
LIBS
=
"
-lpthread
$LIBS
"
AC_TRY_LINK
(
AC_TRY_LINK
(
[
#include <pthread.h>],
[
#include <pthread.h>],
[
(
void
)
pthread_create
((
pthread_t
*
)
0,
(
pthread_attr_t
*
)
0, 0, 0
)
;
]
,
[
(
void
)
pthread_create
((
pthread_t
*
)
0,
(
pthread_attr_t
*
)
0, 0, 0
)
;
]
,
...
@@ -1258,7 +1258,7 @@ else
...
@@ -1258,7 +1258,7 @@ else
AC_MSG_RESULT
(
"
$with_posix_threads
"
)
AC_MSG_RESULT
(
"
$with_posix_threads
"
)
if
test
"
$with_posix_threads
"
=
"no"
if
test
"
$with_posix_threads
"
=
"no"
then
then
LIBS
=
"
$ac_save_LIBS
-lpthreads
"
LIBS
=
"
-lpthreads
$ac_save_LIBS
"
AC_MSG_CHECKING
(
"for pthread_create in -lpthreads"
)
;
AC_MSG_CHECKING
(
"for pthread_create in -lpthreads"
)
;
AC_TRY_LINK
(
AC_TRY_LINK
(
[
#include <pthread.h>],
[
#include <pthread.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