From 5a0d64209b1200cb3bba0181d56875faa8c81f88 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 22 Jan 1996 22:37:04 +0000 Subject: [PATCH] * configure.in: Use KRB5_CHECK_PROTOS instead of inlining prototype checking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7359 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 3 +++ src/include/krb5/configure.in | 16 +++------------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index f34a12297..20898ab57 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,4 +1,7 @@ +Mon Jan 22 17:36:00 1996 Ezra Peisach + * configure.in: Use KRB5_CHECK_PROTOS instead of inlining + prototype checking. Wed Dec 13 03:51:53 1995 Chris Provenzano (proven@mit.edu) diff --git a/src/include/krb5/configure.in b/src/include/krb5/configure.in index 8397ba9eb..850ed06a1 100644 --- a/src/include/krb5/configure.in +++ b/src/include/krb5/configure.in @@ -55,19 +55,9 @@ if test $krb5_cv_has_ansi_stdio = yes; then AC_DEFINE(ANSI_STDIO) fi dnl -AC_MSG_CHECKING([prototype support]) -AC_CACHE_VAL(krb5_cv_has_prototypes, -[AC_TRY_COMPILE( -[int x(double y, int z);], [], -krb5_cv_has_prototypes=yes, krb5_cv_has_prototypes=no)]) -AC_MSG_RESULT($krb5_cv_has_prototypes) -if test $krb5_cv_has_prototypes = no; then -AC_DEFINE(KRB5_NO_PROTOTYPES) -else -AC_DEFINE(KRB5_PROVIDE_PROTOTYPES) -fi -dnl *never* set NARROW_PROTOTYPES - +KRB5_CHECK_PROTOS +dnl +dnl AC_MSG_CHECKING([prototypes in structs]) AC_CACHE_VAL(krb5_cv_struct_prototypes, [AC_TRY_COMPILE( -- 2.26.2