From 46eae679987f3f5429e2598cd7410d81abfad90b Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 15 May 1996 01:58:21 +0000 Subject: [PATCH] (AC_CHECK_DBM_PROTOS): If the test had already been run and the result cached, arguments $3 and $4 were never executed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8030 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 5 +++++ src/aclocal.m4 | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index d1632dbe1..ea87e00bb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +Tue May 14 21:56:08 1996 Ezra Peisach + + * aclocal.m4 (AC_CHECK_DBM_PROTO): Arguments were not executed if + using cached results. + Tue Apr 30 23:25:07 1996 Ken Raeburn * Makefile.in (tgz-bin, pkgdir): New targets. diff --git a/src/aclocal.m4 b/src/aclocal.m4 index c70348eed..2cf182cfe 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1085,14 +1085,15 @@ AC_DEFUN(AC_CHECK_DBM_PROTO,[ AC_TRY_LINK( [#include <$1.h> int $2();], -[$2();], $4 +[$2();], eval krb5_cv_missing_$2_prototype=yes, - $3 eval krb5_cv_missing_$2_prototype=no))) if eval "test \"`echo '$krb5_cv_missing_'$1_prototype`\" = yes"; then AC_MSG_RESULT(yes) + $3 else AC_MSG_RESULT(no) + $4 fi ])dnl dnl -- 2.26.2