[omniORB] Re: Autoconf Abilities [was Installation and Config uration on RedHat 6.0]

Brent Fulgham bfulgham@xpsystems.com
Thu, 16 Sep 1999 13:52:33 -0700



> -----Original Message-----
> From: Duane Griffin [mailto:duane@router.econz.co.nz]
> Sent: Thursday, September 16, 1999 1:53 PM
> To: omniorb-list
> Subject: [omniORB] Re: Autoconf Abilities [was Installation and
> Configuration on RedHat 6.0]
> 
> 
> Brent Fulgham wrote:
> > 
> > > Can't an autoconf test based on the following be used:
> > >    g++ -dumpspecs | grep threads
> > >
> > > I assume (but can't confirm it as I don't have a gcc built without
> > > --enable-threads), if the output is empty, then there is no thread
> > > support.
> > >
> > My GCC-2.95.1 on my windows machine (running Cygnus) outputs
> > nothing for this test -- I am pretty sure it was built without
> > thread support, because the Cygnus tools are not yet complete
> > with respect to threading.
> > 
> > BASH.EXE-2.02$ g++ -dumpspecs | grep threads
> > BASH.EXE-2.02$
> 
> Ah, but you should grep for thread, not threads :)
> 
Mea culpa :)

BASH.EXE-2.02$ g++ -dumpspecs | grep thread
BASH.EXE-2.02$

Same result....

-Brent