summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2002-10-15 21:05:12 +0000
committerunknown <serg@serg.mysql.com>2002-10-15 21:05:12 +0000
commit4a5a7afcf444f984da1735aeccbab9fbc38e9ca7 (patch)
tree63cea02b2aa735c0e2f3b56b3aa62565dc05aefc
parentb6c1bb0ce555ea6f2f56e8695ce0ce0e736e021b (diff)
parentf4dd08b19e0838e16fab1860257656331d2fa003 (diff)
downloadmariadb-git-4a5a7afcf444f984da1735aeccbab9fbc38e9ca7.tar.gz
Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index c22a208e6d0..0fc85479db5 100644
--- a/configure.in
+++ b/configure.in
@@ -1231,7 +1231,7 @@ fi
AC_MSG_CHECKING("named thread libs:")
if test "$with_named_thread" != "no"
then
- LIBS="$with_named_thread $LIBS"
+ LIBS="$with_named_thread $LIBS $with_named_thread"
with_posix_threads="yes"
with_mit_threads="no"
AC_MSG_RESULT("$with_named_thread")
@@ -1250,7 +1250,7 @@ else
then
AC_MSG_CHECKING("for pthread_create in -lpthread");
ac_save_LIBS="$LIBS"
- LIBS="-lpthread $LIBS"
+ LIBS="$LIBS -lpthread"
AC_TRY_LINK(
[#include <pthread.h>],
[ (void) pthread_create((pthread_t*) 0,(pthread_attr_t*) 0, 0, 0); ],
@@ -1258,7 +1258,7 @@ else
AC_MSG_RESULT("$with_posix_threads")
if test "$with_posix_threads" = "no"
then
- LIBS=" -lpthreads $ac_save_LIBS"
+ LIBS=" $ac_save_LIBS -lpthreads"
AC_MSG_CHECKING("for pthread_create in -lpthreads");
AC_TRY_LINK(
[#include <pthread.h>],