summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/ChangeLog3
-rw-r--r--src/include/krb5/configure.in16
2 files changed, 6 insertions, 13 deletions
diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog
index f34a122978..20898ab57c 100644
--- a/src/include/krb5/ChangeLog
+++ b/src/include/krb5/ChangeLog
@@ -1,4 +1,7 @@
+Mon Jan 22 17:36:00 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+ * 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 8397ba9ebf..850ed06a14 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(