From 151c5ee80ef482463ad858714e25cafb79319184 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Sun, 6 Dec 1998 13:38:28 +0000 Subject: [PATCH] Make it abort if GNOME cannot be found and the --without-gnome parameter 1998-12-06 Martin Baulig * configure.in: Make it abort if GNOME cannot be found and the --without-gnome parameter was not given. --- ChangeLog | 5 +++++ configure.in | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 32d317f5..010c8590 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1998-12-06 Martin Baulig + + * configure.in: Make it abort if GNOME cannot be found and + the --without-gnome parameter was not given. + 1998-12-03 Martin Baulig * LIBGTOP-VERSION (LIBGTOP_VERSION_CODE): Pipe the expression diff --git a/configure.in b/configure.in index d2dea1d5..c52fecbf 100644 --- a/configure.in +++ b/configure.in @@ -62,10 +62,17 @@ AM_PROG_LIBTOOL dnl Let the user enable compiler warnings GNOME_COMPILE_WARNINGS -dnl If you want to use libgtop without gnome, comment the following line out. GNOME_INIT_HOOK(gnome_found=yes) if test "x$gnome_found" != xyes; then + if test "x$want_gnome" != xno ; then + AC_MSG_ERROR([ +*** GNOME was not found on this system. *** + +*** If you want to use LibGTop without GNOME, you need +*** to give configure the --without-gnome parameter. +]) + fi GNOME_SUPPORT_CHECKS else AM_CONDITIONAL(BUILD_GNOME_SUPPORT, false)