Fixed link failure if GTK debugger is present, but no other Bochs facilty

using the pthreads library (SF patch #531 by Dawn Teschendorf fixing SF bug
#1364).
This commit is contained in:
Volker Ruppert 2014-12-20 07:51:11 +00:00
parent f2c9a503d1
commit 795a7929f1
2 changed files with 9 additions and 3 deletions

7
bochs/configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in 12555 2014-11-22 11:43:40Z vruppert .
# From configure.in Id: configure.in 12561 2014-12-12 18:45:32Z vruppert .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69.
#
@ -25645,7 +25645,10 @@ fi
# since some features need the pthread library, check that it was found.
# But on win32 platforms, the pthread library is not needed.
if test "$cross_configure" = 0; then
if test "$with_rfb" = yes -o "$with_vncsrv" = yes -o "$soundcard_present" = 1; then
# assuming that the GUI debuggers require pthreads or are for Win32
if test "$with_rfb" = yes -o "$with_vncsrv" = yes -o \
"$soundcard_present" = 1 -o "$gui_debugger" = 1
then
if test "$pthread_ok" = yes; then
if test "$with_rfb" = yes; then
RFB_LIBS="$RFB_LIBS $PTHREAD_LIBS"

View File

@ -2961,7 +2961,10 @@ ACX_PTHREAD([
# since some features need the pthread library, check that it was found.
# But on win32 platforms, the pthread library is not needed.
if test "$cross_configure" = 0; then
if test "$with_rfb" = yes -o "$with_vncsrv" = yes -o "$soundcard_present" = 1; then
# assuming that the GUI debuggers require pthreads or are for Win32
if test "$with_rfb" = yes -o "$with_vncsrv" = yes -o \
"$soundcard_present" = 1 -o "$gui_debugger" = 1
then
if test "$pthread_ok" = yes; then
if test "$with_rfb" = yes; then
RFB_LIBS="$RFB_LIBS $PTHREAD_LIBS"