Back out symlinking of libpthread.so in coregrind; it causes build
problems on many modern distros.  Not sure how to resolve this properly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1637 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am
index e3ff40c..3f2a313 100644
--- a/coregrind/Makefile.am
+++ b/coregrind/Makefile.am
@@ -82,7 +82,9 @@
         vg_constants.h          \
 	vg_unsafe.h
 
-MANUAL_DEPS = $(noinst_HEADERS) $(include_HEADERS) libpthread.so.0
+#### JRS 17 May 03, see comment below
+####MANUAL_DEPS = $(noinst_HEADERS) $(include_HEADERS) libpthread.so.0
+MANUAL_DEPS = $(noinst_HEADERS) $(include_HEADERS)
 
 vg_memory.o: vg_memory.c $(MANUAL_DEPS)
 	$(COMPILE) -O2 @PREFERRED_STACK_BOUNDARY@ -c $<
@@ -90,5 +92,8 @@
 vg_intercept.o vg_libpthread.o vg_replace_malloc.o: CFLAGS += -fno-omit-frame-pointer
 
 ## Must have a libpthread.so.0 symlink
-libpthread.so.0:
-	ln -s libpthread.so libpthread.so.0
+#### JRS 17 May 03, this messes up the build system on many
+#### modern distros, since most build tools (make etc) are
+#### linked with libpthread.
+####libpthread.so.0:
+####	ln -s libpthread.so libpthread.so.0