Added perl interface.

1998-06-21  Martin Baulig  <martin@home-of-linux.org>

	* perl/*: Added perl interface.

	* sysdeps/linux/cpu.c: Bug fix.

	* include/glibtop/global.h: Only including guile header files
	within libgtop.

	* configure.in (LIGBTOP_LIBS): Added `-lgtop'.

	* Makefile.am: Creating `perl/Makefile.PL' from `perl/Makefile.PL.in'
	and `perl/Libgtop.xs' using `perl/perl.awk'.
This commit is contained in:
Martin Baulig
1998-06-21 22:24:18 +00:00
committed by Martin Baulig
parent 71187a5e51
commit a76522a990
14 changed files with 218 additions and 4 deletions

View File

@@ -5,4 +5,4 @@ glibtop_HEADERS = close.h loadavg.h prockernel.h procstate.h \
proctime.h shm_limits.h version.h cpu.h msg_limits.h \
procmem.h procuid.h swap.h write.h error.h open.h \
procsegment.h read.h sysdeps.h xmalloc.h global.h \
output.h procsignal.h read_data.h union.h
output.h procsignal.h read_data.h union.h types.h

View File

@@ -62,6 +62,11 @@
# endif
#endif
#ifdef WITHOUT_GUILE
#undef HAVE_GUILE
#undef GLIBTOP_GUILE_NAMES
#endif
#ifdef HAVE_GUILE
#include <guile/gh.h>
#endif