From 97c33b57387a70f757ffb6ade75df86f2e0225ec Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Sun, 19 Mar 1995 02:48:33 +0000 Subject: [PATCH] * com_err.c, com_err.h: Use HAVE_STDARG_H, not STDARG_PROTOTYPES. * configure.in: Use AC_CHECK_HEADERS(stdarg.h), not CHECK_STDARG. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5170 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/et/ChangeLog | 5 +++++ src/util/et/com_err.c | 2 +- src/util/et/com_err.h | 10 ++++++---- src/util/et/configure.in | 2 +- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index 7815a0ef2..4c4966ff5 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/src/util/et/com_err.c b/src/util/et/com_err.c index 01c7cc5f1..b36efe3ab 100644 --- a/src/util/et/com_err.c +++ b/src/util/et/com_err.c @@ -8,7 +8,7 @@ #include #include "mit-sipb-copyright.h" -#if defined(__STDC__) || defined(STDARG_PROTOTYPES) +#ifdef HAVE_STDARG_H #include #else #include diff --git a/src/util/et/com_err.h b/src/util/et/com_err.h index 0ff858034..9d5a92d15 100644 --- a/src/util/et/com_err.h +++ b/src/util/et/com_err.h @@ -4,20 +4,22 @@ * 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 #else #include diff --git a/src/util/et/configure.in b/src/util/et/configure.in index c74139a03..04a72e0aa 100644 --- a/src/util/et/configure.in +++ b/src/util/et/configure.in @@ -21,7 +21,7 @@ if test $krb5_cv_decl_perror = yes; then 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 -- 2.26.2