Subject: bug#15690: [platform-testers] new snapshot available: grep-2.14.51-7a35

From: Ineiev <[email-masked]>
Date: Fri, 25 Oct 2013 13:11:07 +0400

On 10/25/2013 11:02 AM, Paul Eggert wrote:
> Ineiev wrote:
>> Well, it will, with make LIBS=-lpthread.
> 
> 'configure' should be doing this automatically.
> Can you figure out why it's not?

I believe,
--- src/Makefile.am.orig	2013-10-25 12:48:09.000000000 +0400
+++ src/Makefile.am	2013-10-25 12:37:42.000000000 +0400
@@ -21,3 +21,3 @@
  # Tell the linker to omit references to unused shared libraries.
-AM_LDFLAGS = $(IGNORE_UNUSED_LIBRARIES_CFLAGS)
+AM_LDFLAGS = $(IGNORE_UNUSED_LIBRARIES_CFLAGS) $(LIBTHREAD)