This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: configure --disable-threads
- To: law at cygnus dot com
- Subject: Re: configure --disable-threads
- From: "David S. Miller" <davem at dm dot cobaltmicro dot com>
- Date: Tue, 3 Nov 1998 20:13:44 -0800
- CC: parkes at sierravista dot com, egcs at cygnus dot com
- References: <5865.910152172@upchuck>
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