From abdeeda9c0f2bef95bc3c3b4ee65942c68419220 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Tue, 5 Jan 1999 10:52:56 +0000 Subject: [PATCH] Make it abort if the `dc' utility is not installed. 1999-01-05 Martin Baulig * configure.in: Make it abort if the `dc' utility is not installed. --- ChangeLog | 4 ++++ configure.in | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 34fecd33..6971db44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +1999-01-05 Martin Baulig + + * configure.in: Make it abort if the `dc' utility is not installed. + 1999-01-03 Martin Baulig Released LibGTop 0.99.1. diff --git a/configure.in b/configure.in index 6aad9414..019e4b2f 100644 --- a/configure.in +++ b/configure.in @@ -6,6 +6,16 @@ AC_INIT(copyright.txt) AM_CONFIG_HEADER(config.h) AC_CANONICAL_SYSTEM +dnl This is required at several places +AC_CHECK_PROG(ac_dc_found, dc, yes, no) +if test x$ac_dc_found != xyes ; then +AC_MSG_ERROR([ +*** The "dc" utility was not found on your system. +*** +*** When using RedHat Linux, you need to install the "bc" package. +***]) +fi + . $srcdir/LIBGTOP-VERSION AM_INIT_AUTOMAKE($PACKAGE, $VERSION)