DJ Lucas wrote:



On December 1, 2016 10:47:40 AM CST, Bruce Dubbs <bruce.du...@gmail.com> wrote:
Douglas R. Reno wrote:
On Wed, Nov 30, 2016 at 10:37 PM, DJ Lucas <d...@linuxfromscratch.org>
wrote:

Anybody else have issue with the pthread-stubs sed? Causes configure
to be
generated with "then\n\nfi" (a syntax error) on my system.

IIUC, we want to make the check not required. I believe this is a
more
correct sed to invalidate the check:

sed '/pthread_stubs_possible/s/\"yes/\"no/' -i configure.ac
&amp;&amp;
autogen.sh ...

--DJ


That sounds more correct to me. I have had several people report it
on IRC.

Did you get the sed correct?

There are only three instances of pthread_stubs_possible in
configure.ac.
  The sed uses:

/pthread_stubs_possible=/

Did you miss the = sign?


I won't say no,  but it is unlikely as it was copy and paste, but I'm not in 
front of a machine where I can test ATM. The result was similar to this block 
in configure:

....
if test "x$pthread_stubs_possible" == "xyes"; then

If we are looking for /pthread_stubs_possible=/  that will not match.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to