* configure.in: Use KRB5_CHECK_PROTOS instead of inlining
authorEzra Peisach <epeisach@mit.edu>
Mon, 22 Jan 1996 22:37:04 +0000 (22:37 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 22 Jan 1996 22:37:04 +0000 (22:37 +0000)
prototype checking.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7359 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/ChangeLog
src/include/krb5/configure.in

index f34a12297805b6cd89f9ff751caa0dcce305ed04..20898ab57c7ea1da39a85fb9a9b6133bbee732f2 100644 (file)
@@ -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)
 
index 8397ba9ebfaf6e75246976956426642923d8f2e5..850ed06a1431370a4857d0aeed165f36004e9ba3 100644 (file)
@@ -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(