From 2957ec5b57d3904d7e3fc763c337a012b46861b5 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Fri, 17 Sep 1999 00:37:14 +0000 Subject: [PATCH] Make it work if we have GNOME and the user gave use --without-gnome (fixes 1999-09-17 Martin Baulig * configure.in: Make it work if we have GNOME and the user gave use --without-gnome (fixes bug #1735). --- ChangeLog | 5 +++++ configure.in | 9 +++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index aa22092e..76191921 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-09-17 Martin Baulig + + * configure.in: Make it work if we have GNOME and the user + gave use --without-gnome (fixes bug #1735). + 1999-07-29 Martin Baulig * include/glibtop/error.h: Use G_GNUC_UNUSED. diff --git a/configure.in b/configure.in index de1ea334..d50960e6 100644 --- a/configure.in +++ b/configure.in @@ -97,10 +97,15 @@ if test "x$gnome_found" != xyes; then fi GNOME_SUPPORT_CHECKS else - AM_CONDITIONAL(BUILD_GNOME_SUPPORT, false) - AM_CONDITIONAL(CROSS_COMPILING, test "x$cross_compiling" = xyes) + if test "x$want_gnome" != xno ; then + AM_CONDITIONAL(BUILD_GNOME_SUPPORT, false) + else + GNOME_SUPPORT_CHECKS + fi fi +AM_CONDITIONAL(CROSS_COMPILING, test "x$cross_compiling" = xyes) + GNOME_LIBGTOP_SYSDEPS GNOME_LIBGTOP_TYPES