BSD related fixes:

* BUGFIX: Correct page size calculation for FreeBSD systems
  (thanks to Andrew Paulsen)
* Allow compilation without PLPA on systems that don't support it
  (thanks to Timothy Redaelli)
This commit is contained in:
Hisham Muhammad
2009-03-11 13:15:43 +00:00
parent b93e5c00b6
commit 3b950e4189
9 changed files with 37 additions and 14 deletions

View File

@ -1,5 +1,7 @@
if HAVE_PLPA
SUBDIRS = plpa-1.1
endif
bin_PROGRAMS = htop
dist_man_MANS = htop.1
@ -35,7 +37,9 @@ SUFFIXES = .h
BUILT_SOURCES = $(myhtopheaders)
htop_SOURCES = $(myhtopheaders) $(myhtopsources) config.h debug.h
if HAVE_PLPA
htop_LDADD = $(top_builddir)/plpa-1.1/src/libplpa_included.la
endif
profile:
$(MAKE) all CFLAGS="-pg -O2"