Hi!

My attempt to fix this:

-----------------------------------------

LTLIBRARY_NAME    = libperuser.la

### Remove '#' to enable
# PERUSER_MAX_CPU_USAGE = 1

ifdef PERUSER_MAX_CPU_USAGE
LTLIBRARY_SOURCES = peruser.c cpu_usage.c
LTLIBRARY_LIBADD = -lkvm
else
LTLIBRARY_SOURCES = peruser.c
endif

include $(top_srcdir)/build/ltlib.mk

-----------------------------------------

This seems to work on my CentOS machine at least (and uncommenting PERUSER_MAX_CPU_USAGE makes it try to compile cpu_usage support).

--
Taavi Sannik


_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser

Reply via email to