From b0ec76f78ad39e7cf34c8ca12709126d48e91d6b Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Mon, 18 Sep 2000 01:55:31 +0000 Subject: [PATCH] * configure.in: fixed wrong use of AC_MSG_RESULT inside AC_CACHE_VAL --- ChangeLog | 3 +++ configure.in | 8 +++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b91907b07..c2f71b190 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-09-17 Pavel Roskin + * configure.in: fixed wrong use of AC_MSG_RESULT inside + AC_CACHE_VAL + * Make.common.in: Added the "dvi" target for "make distcheck" to go further * doc-gnome/C/Makefile.in: converted to ... diff --git a/configure.in b/configure.in index 3ebe2335d..9aa027c5a 100644 --- a/configure.in +++ b/configure.in @@ -519,19 +519,21 @@ if $HAVE_nroff; then if test $? = 0 then ac_cv_nroff_tascii=" -Tlatin1" - AC_MSG_RESULT(yes) else nroff -Tascii < /dev/null > /dev/null 2>&1 /dev/null if test $? = 0 then ac_cv_nroff_tascii=" -Tascii" - AC_MSG_RESULT(yes) else ac_cv_nroff_tascii="" - AC_MSG_RESULT(no) fi fi ]) + if test "x$ac_cv_nroff_tascii" = x; then + AC_MSG_RESULT(no) + else + AC_MSG_RESULT([yes,$ac_cv_nroff_tascii]) + fi fi TROFFASCII="$ac_cv_nroff_tascii" AC_SUBST(TROFFASCII)