summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2009-03-11 13:15:43 +0000
committerHisham Muhammad <hisham@gobolinux.org>2009-03-11 13:15:43 +0000
commit3b950e41896219c9d21f9bc13616bfc6333b345c (patch)
tree3d53d979f3fbfa92704071ee17bafcfb15002098 /Makefile.am
parentb93e5c00b6cad873942a2709f990a0626d98e7be (diff)
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)
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 2e9c076f..d3fcb43b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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"

© 2014-2024 Faster IT GmbH | imprint | privacy policy