This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: configure --disable-threads


   Date: Tue, 03 Nov 1998 21:02:52 -0700
   From: Jeffrey A Law <law@upchuck.cygnus.com>

   David -- the issue at hand is if --disable-threads or
   --enable-threads=no is specified that the sparc & PA port will try
   to use pthreads if pthread.h exists because enable_threads as an
   empty value in the configure cases for the sparc & PA targets.

   It sounds a little backwards to me, but I don't know if that was
   the behavior you intended or not :-)

It does indeed seem hokey.

What I imagine is being attempted is that if nothing was specified
about the matter on the configure command line, and pthread.h exists,
the user probably wants thread support enabled in the build  by
default.

I suppose there is a better way to achieve this than what we are doing
now.

Note that only the sparc solaris targets do this, and in fact I never
put that weird code there pertaining to this.

Later,
David S. Miller
davem@dm.cobaltmicro.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]