#include <stdio.h>
#include "mit-sipb-copyright.h"
-/* Need <krb5/config.h> for STDARG_PROTOTYPES */
-/* #include <krb5/krb5.h> -- now tested locally*/
-
-#if __STDC__ || defined(STDARG_PROTOTYPES)
+#ifdef STDARG_PROTOTYPES
#include <stdarg.h>
#else
#include <varargs.h>
#ifndef __COM_ERR_H
-#ifdef __STDC__
-#ifndef __HIGHC__ /* gives us STDC but not stdarg */
+#ifdef UseStdarg
+#define STDARG_PROTOTYPES
+#endif
+
+#ifdef STDARG_PROTOTYPES
#include <stdarg.h>
#else
#include <varargs.h>
#endif
+
+#ifdef __STDC__
/* ANSI C -- use prototypes etc */
void com_err (const char *, long, const char *, ...);
char const *error_message (long);
HAVE_YYLINENO
DECLARE_SYS_ERRLIST
CONFIG_RULES
+CHECK_STDARG
AC_OUTPUT(Makefile,[EXTRA_RULES])