File google-perftools_fix_multiple_install_headers.patch of Package google-perftools

Index: google-perftools-0.99.2/Makefile.am
===================================================================
--- google-perftools-0.99.2.orig/Makefile.am
+++ google-perftools-0.99.2/Makefile.am
@@ -150,7 +150,6 @@ LOW_LEVEL_ALLOC_UNITTEST_INCLUDES = src/
                                     src/base/basictypes.h \
                                     src/google/malloc_hook.h \
                                     src/google/malloc_hook_c.h \
-                                    src/google/malloc_hook_c.h \
                                     src/malloc_hook-inl.h \
                                     $(SPINLOCK_INCLUDES) \
                                     $(LOGGING_INCLUDES)
@@ -241,10 +240,7 @@ S_TCMALLOC_MINIMAL_INCLUDES = src/intern
                               src/pagemap.h \
                               src/malloc_hook-inl.h \
                               src/maybe_threads.h
-SG_TCMALLOC_MINIMAL_INCLUDES = src/google/malloc_hook.h \
-                               src/google/malloc_hook_c.h \
-                               src/google/malloc_extension.h \
-                               src/google/stacktrace.h
+SG_TCMALLOC_MINIMAL_INCLUDES = src/google/malloc_extension.h
 TCMALLOC_MINIMAL_INCLUDES = $(S_TCMALLOC_MINIMAL_INCLUDES) $(SG_TCMALLOC_MINIMAL_INCLUDES)
 googleinclude_HEADERS += $(SG_TCMALLOC_MINIMAL_INCLUDES)
 
@@ -466,10 +462,8 @@ S_TCMALLOC_INCLUDES = src/internal_loggi
                       $(LOGGING_INCLUDES)
 SG_TCMALLOC_INCLUDES = src/google/malloc_hook.h \
                        src/google/malloc_hook_c.h \
-                       src/google/malloc_extension.h \
                        src/google/heap-profiler.h \
-                       src/google/heap-checker.h \
-                       src/google/stacktrace.h
+                       src/google/heap-checker.h
 TCMALLOC_INCLUDES = $(S_TCMALLOC_INCLUDES) $(SG_TCMALLOC_INCLUDES)
 googleinclude_HEADERS += $(SG_TCMALLOC_INCLUDES)
 
@@ -616,8 +610,7 @@ S_CPU_PROFILER_INCLUDES = src/profiledat
                           src/base/sysinfo.h \
                           $(SPINLOCK_INCLUDES) \
                           $(LOGGING_INCLUDES)
-SG_CPU_PROFILER_INCLUDES = src/google/profiler.h \
-                           src/google/stacktrace.h
+SG_CPU_PROFILER_INCLUDES = src/google/profiler.h 
 CPU_PROFILER_INCLUDES = $(S_CPU_PROFILER_INCLUDES) $(SG_CPU_PROFILER_INCLUDES)
 googleinclude_HEADERS += $(SG_CPU_PROFILER_INCLUDES)