summaryrefslogtreecommitdiffstats
path: root/src/include/krb5/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/krb5/configure.in')
-rw-r--r--src/include/krb5/configure.in16
1 files changed, 3 insertions, 13 deletions
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(