diff --git a/configure.in b/configure.in index 87c1e4cd..194e1aa5 100644 --- a/configure.in +++ b/configure.in @@ -26,10 +26,10 @@ export CC CXX RANLIB LD AS AR NM AC_LC_SYSDEPS -if test x$ac_cv_want_guile = xyes ; then +if test x$libgtop_want_guile = xyes ; then GNOME_CHECK_GUILE if test x$ac_cv_guile_found = xyes ; then - if test x$ac_cv_want_names = xyes ; then + if test x$libgtop_want_names = xyes ; then AC_DEFINE(GLIBTOP_GUILE_NAMES) fi guile_examples='third third_static third_linux' diff --git a/sysdeps/guile/names/procmem.c b/sysdeps/guile/names/procmem.c index 58ad25dd..4daf9967 100644 --- a/sysdeps/guile/names/procmem.c +++ b/sysdeps/guile/names/procmem.c @@ -52,7 +52,7 @@ glibtop_guile_types_proc_mem (void) for (i = 0; i < GLIBTOP_MAX_PROC_MEM; i++) list = gh_append2 (list, gh_list - (gh_str02scm (glibtop_labels_proc_mem [i]), + (gh_str02scm (glibtop_types_proc_mem [i]), SCM_UNDEFINED)); return list;