build: Honor --disable-foo configure flags when installing headers.

This commit is contained in:
Bert Wesarg 2017-01-23 23:13:43 +01:00 committed by Dave Watson
parent dcdea8940d
commit e123b970c4

View File

@ -1,6 +1,12 @@
include_HEADERS = include/libunwind-dynamic.h \
include/libunwind-ptrace.h \
include/libunwind-coredump.h
include_HEADERS = include/libunwind-dynamic.h
if BUILD_PTRACE
include_HEADERS += include/libunwind-ptrace.h
endif BUILD_PTRACE
if BUILD_COREDUMP
include_HEADERS += include/libunwind-coredump.h
endif BUILD_COREDUMP
if ARCH_AARCH64
include_HEADERS += include/libunwind-aarch64.h