diff --git a/acconfig.h b/acconfig.h index 8b954380..9da7413a 100644 --- a/acconfig.h +++ b/acconfig.h @@ -155,3 +155,7 @@ * the running kernel (if we don't have configured kernel sources). */ #undef GLIBTOP_LINUX_VERSION_CODE + +/* Define if you want to use LibGTop without GNOME. */ +#undef WITHOUT_GNOME + diff --git a/configure.in b/configure.in index d6500fbc..196ed339 100644 --- a/configure.in +++ b/configure.in @@ -82,6 +82,8 @@ if test "x$gnome_found" != xyes; then *** If you want to use LibGTop without GNOME, you need *** to give configure the --without-gnome parameter. ]) + else + AC_DEFINE(WITHOUT_GNOME) fi GNOME_SUPPORT_CHECKS else