Add flag to allow using the system install of hwloc.

This commit is contained in:
Hisham Muhammad
2011-09-26 03:24:22 +00:00
parent ec17b7029a
commit 1afef1899d
2 changed files with 18 additions and 5 deletions

View File

@ -1,5 +1,5 @@
if HAVE_HWLOC
if HAVE_BUNDLED_HWLOC
SUBDIRS = hwloc-1.2.1
endif
@ -41,7 +41,7 @@ SUFFIXES = .h
BUILT_SOURCES = $(myhtopheaders)
htop_SOURCES = $(myhtopheaders) $(myhtopsources) config.h debug.h
if HAVE_HWLOC
if HAVE_BUNDLED_HWLOC
htop_LDADD = $(HWLOC_EMBEDDED_LDADD) $(HWLOC_EMBEDDED_LIBS)
AM_CFLAGS += $(HWLOC_EMBEDDED_CFLAGS)
AM_CPPFLAGS += $(HWLOC_EMBEDDED_CPPFLAGS)