summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-03 14:46:16 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:38 -0500
commit5572b539261b8821263e82c2285727e1d032ed16 (patch)
tree3af4c51ff7cb3306b7df9fb05fcd2bceb965107f /configure
parentfa5e22cfc02dfed3d79e64e214b57f61ffafd8ea (diff)
downloadqemu-5572b539261b8821263e82c2285727e1d032ed16.tar.gz
PTHREADLIBS was used for all binaries
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure b/configure
index 249229363e..aadc1d2820 100755
--- a/configure
+++ b/configure
@@ -1144,7 +1144,6 @@ fi
##########################################
# pthread probe
PTHREADLIBS_LIST="-lpthread -lpthreadGC2"
-PTHREADLIBS=""
if test "$pthread" = yes; then
pthread=no
@@ -1155,7 +1154,7 @@ EOF
for pthread_lib in $PTHREADLIBS_LIST; do
if compile_prog "" "$pthread_lib" ; then
pthread=yes
- PTHREADLIBS="$pthread_lib"
+ LIBS="$pthread_lib $LIBS"
break
fi
done
@@ -1750,7 +1749,6 @@ echo "ARLIBS_BEGIN=$arlibs_begin" >> $config_host_mak
echo "ARLIBS_END=$arlibs_end" >> $config_host_mak
echo "LIBS=$LIBS" >> $config_host_mak
echo "EXESUF=$EXESUF" >> $config_host_mak
-echo "PTHREADLIBS=$PTHREADLIBS" >> $config_host_mak
echo "CLOCKLIBS=$CLOCKLIBS" >> $config_host_mak
echo "/* Automatically generated by configure - do not modify */" > $config_host_h