* main.c (print_status): Use HAVE_STDARG_H to control whether to
declare with ", ..."; not STDARG_PROTOTYPES.
* ksu.h: Don't include <stdarg.h> or <varargs.h>, since they
are already included by "com_err.h".
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5138
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Mar 16 20:50:32 1995 John Gilmore (gnu at toad.com)
+
+ * configure.in: Replace CHECK_STDARG with AC_CHECK_HEADERS.
+ * main.c (print_status): Use HAVE_STDARG_H to control whether to
+ declare with ", ..."; not STDARG_PROTOTYPES.
+ * ksu.h: Don't include <stdarg.h> or <varargs.h>, since they
+ are already included by "com_err.h".
+
Thu Mar 2 12:32:17 1995 Theodore Y. Ts'o <tytso@dcl>
* Makefile.in (ISODELIB): Remove reference to $(ISODELIB).
AC_CHECK_LIB(dbm,main)
KRB_INCLUDE
WITH_KRB5ROOT
-CHECK_STDARG
+AC_CHECK_HEADERS(stdarg.h)
V5_AC_OUTPUT_MAKEFILE
#include <unistd.h>
#include <string.h>
#include <syslog.h>
-#ifdef STDARG_PROTOTYPES
-#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
+/* <stdarg.h> or <varargs.h> is already included by com_err.h. */
#define NO_TARGET_FILE '.'
#define SOURCE_USER_LOGIN "."
void sweep_up();
char * ontty();
void init_auth_names();
-#ifdef STDARG_PROTOTYPES
+#ifdef HAVE_STDARG_H
void print_status( const char *fmt, ...);
#else
void print_status();
}
-#ifdef STDARG_PROTOTYPES
+#ifdef HAVE_STDARG_H
void print_status( const char *fmt, ...)
#else
void print_status (va_alist)
#endif
{
va_list ap;
-#ifndef STDARG_PROTOTYPES
+#ifndef HAVE_STDARG_H
char *fmt;
va_start (ap);
fmt = va_arg (ap, char*);