(AC_CHECK_DBM_PROTOS): If the test had already been run and the result
authorEzra Peisach <epeisach@mit.edu>
Wed, 15 May 1996 01:58:21 +0000 (01:58 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 15 May 1996 01:58:21 +0000 (01:58 +0000)
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
src/aclocal.m4

index d1632dbe19d8cd3edbff6e0a3ae52f489efa3c96..ea87e00bb1be0cd8181b1e90d0d7d0acb535e4fd 100644 (file)
@@ -1,3 +1,8 @@
+Tue May 14 21:56:08 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
+
+       * aclocal.m4 (AC_CHECK_DBM_PROTO): Arguments were not executed if
+               using cached results.
+
 Tue Apr 30 23:25:07 1996  Ken Raeburn  <raeburn@cygnus.com>
 
        * Makefile.in (tgz-bin, pkgdir): New targets.
index c70348eed511c6fed542585d18545cba825a4929..2cf182cfe12433cb7e86f75d271af5e893dd25a5 100644 (file)
@@ -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