summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-06-21 22:24:18 +0000
committerMartin Baulig <martin@src.gnome.org>1998-06-21 22:24:18 +0000
commita76522a990c40724f06fc7122b21d72ba20e29ce (patch)
treee13d74cf6d5446912c6fa8645a6ce52c5cc4e7de /include
parent71187a5e519bd03926c933c57e307f29b07e77c6 (diff)
downloadlibgtop-a76522a990c40724f06fc7122b21d72ba20e29ce.tar.gz
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'.
Diffstat (limited to 'include')
-rw-r--r--include/glibtop/Makefile.am2
-rw-r--r--include/glibtop/global.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/include/glibtop/Makefile.am b/include/glibtop/Makefile.am
index 1a5941fc..53ee5c51 100644
--- a/include/glibtop/Makefile.am
+++ b/include/glibtop/Makefile.am
@@ -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
diff --git a/include/glibtop/global.h b/include/glibtop/global.h
index 1ad60784..46bc9538 100644
--- a/include/glibtop/global.h
+++ b/include/glibtop/global.h
@@ -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