summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@toad.com>1995-03-19 02:48:33 +0000
committerJohn Gilmore <gnu@toad.com>1995-03-19 02:48:33 +0000
commit97c33b57387a70f757ffb6ade75df86f2e0225ec (patch)
treefc98f0e024f8baa5bdcfacb621055808a6c1086b /src/util
parentd58dc3ece28e355edc2a9a9a410c75cc700d42a3 (diff)
downloadkrb5-97c33b57387a70f757ffb6ade75df86f2e0225ec.tar.gz
krb5-97c33b57387a70f757ffb6ade75df86f2e0225ec.tar.xz
krb5-97c33b57387a70f757ffb6ade75df86f2e0225ec.zip
* 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
Diffstat (limited to 'src/util')
-rw-r--r--src/util/et/ChangeLog5
-rw-r--r--src/util/et/com_err.c2
-rw-r--r--src/util/et/com_err.h10
-rw-r--r--src/util/et/configure.in2
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 <string.h>
#include "mit-sipb-copyright.h"
-#if defined(__STDC__) || defined(STDARG_PROTOTYPES)
+#ifdef HAVE_STDARG_H
#include <stdarg.h>
#else
#include <varargs.h>
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 <stdarg.h>
#else
#include <varargs.h>
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