summaryrefslogtreecommitdiffstats
path: root/src/include/krb5
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1996-01-22 22:37:04 +0000
committerEzra Peisach <epeisach@mit.edu>1996-01-22 22:37:04 +0000
commit5a0d64209b1200cb3bba0181d56875faa8c81f88 (patch)
tree306799475f01766c29386108fdb34cbc1cbd1c84 /src/include/krb5
parent6a52912d3edc62fa15579a0875f0aba6466adda6 (diff)
downloadkrb5-5a0d64209b1200cb3bba0181d56875faa8c81f88.tar.gz
krb5-5a0d64209b1200cb3bba0181d56875faa8c81f88.tar.xz
krb5-5a0d64209b1200cb3bba0181d56875faa8c81f88.zip
* 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
Diffstat (limited to 'src/include/krb5')
-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 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 <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 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(