From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" To: law@cygnus.com Cc: parkes@sierravista.com, egcs@cygnus.com Subject: Re: configure --disable-threads Date: Tue, 03 Nov 1998 23:34:00 -0000 Message-id: <199811040413.UAA17274@dm.cobaltmicro.com> References: <5865.910152172@upchuck> X-SW-Source: 1998-11/msg00135.html Date: Tue, 03 Nov 1998 21:02:52 -0700 From: Jeffrey A Law 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