public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* configure --disable-threads
@ 1998-10-27  9:04 Steven Parkes
  1998-10-30  7:31 ` Jeffrey A Law
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Parkes @ 1998-10-27  9:04 UTC (permalink / raw)
  To: egcs

It looks to me like --disable-threads has itself been disabled.  In
configure, it looks like $enable_threads is supposed to take on one of
three states but if you use --disable-threads or --enable-threads=no,
later code changes the value back to '' which causes it to default
which, in the case of hpux, brings in dce threads.

The patch below isn't clean, but it shows where the issue occurs.

*** configure.orig	Sat Oct 17 15:37:14 1998
--- configure	Sat Oct 17 15:53:00 1998
***************
*** 825,831 ****
  if test "${enable_threads+set}" = set; then
    enableval="$enable_threads"
    if test x$enable_threads = xno; then
! 	enable_threads=''
  fi
  else
    enable_threads=''
--- 825,831 ----
  if test "${enable_threads+set}" = set; then
    enableval="$enable_threads"
    if test x$enable_threads = xno; then
! 	enable_threads='no'
  fi
  else
    enable_threads=''

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-11-03 23:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-27  9:04 configure --disable-threads Steven Parkes
1998-10-30  7:31 ` Jeffrey A Law
1998-11-02 19:39   ` Steven Parkes
1998-11-03 23:34     ` Jeffrey A Law
1998-11-03 23:34       ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).