Re: Thread code not vpath-safe - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Thread code not vpath-safe
Date
Msg-id 200404261715.i3QHFDK09447@candle.pha.pa.us
Whole thread Raw
In response to Thread code not vpath-safe  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-hackers
Alvaro Herrera wrote:
> The thread testing program is not nice to a vpath build.  I see this
> error:
> 
> checking for gmake... gmake
> checking thread safety of required library functions... Makefile:13: ../../../src/Makefile.global: No such file or
directory
> gmake: *** No rule to make target `../../../src/Makefile.global'.  Stop.
> configure: error: Can not clean thread test directory.
> 
> (Basically what I'm doing is create an empty directory, cd to it and
> then call ../sourcedir/configure --enable-thread-safety)

I tried and couldn't get it to fail.  Do you have this line at the
bottom of configure.in:
if ! $srcdir/src/tools/thread/thread_test >&5

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: [pgsql-advocacy] Do we prefer software that works or software that looks good?
Next
From: Bruce Momjian
Date:
Subject: Re: PITR Phase 1 - Test results