+Sat Mar 18 18:44:03 1995 John Gilmore (gnu at toad.com)
+
+ * com_err.c, com_err.h: Use HAVE_STDARG_H, not STDARG_PROTOTYPES.
+ * configure.in: Use AC_CHECK_HEADERS(stdarg.h), not CHECK_STDARG.
+
Wed Mar 16 17:30:00 1995 Keith Vetter (keithv@fusion.com)
* com_err.h: problem with this file needing k5-config for windows
#include <string.h>
#include "mit-sipb-copyright.h"
-#if defined(__STDC__) || defined(STDARG_PROTOTYPES)
+#ifdef HAVE_STDARG_H
#include <stdarg.h>
#else
#include <varargs.h>
* Copyright 1988, Student Information Processing Board of the
* Massachusetts Institute of Technology.
*
+ * Copyright 1995 by Cygnus Support.
+ *
* For copyright and distribution info, see the documentation supplied
* with this package.
*/
#ifndef __COM_ERR_H
-#ifndef STDARG_PROTOTYPES
-/* Imake needs this -- oh well */
+#ifndef HAVE_STDARG_H
+/* End-user programs may need this -- oh well */
#ifdef __STDC__
-#define STDARG_PROTOTYPES
+#define HAVE_STDARG_H 1
#endif
#endif
-#ifdef STDARG_PROTOTYPES
+#ifdef HAVE_STDARG_H
#include <stdarg.h>
#else
#include <varargs.h>
AC_DEFINE(HDR_HAS_PERROR)
fi
dnl
-CHECK_STDARG
+AC_CHECK_HEADERS(stdarg.h)
AC_HAVE_HEADERS(stdlib.h)
CopySrcHeader(com_err.h,$(BUILDTOP)/include)
V5_AC_OUTPUT_MAKEFILE