+Thu Sep 18 17:51:39 1997 Tom Yu <tlyu@mit.edu>
+
+ * acconfig.h: Remove USE_STRING_H, HAS_STRDUP, HAS_LABS
+
Mon Aug 18 11:28:25 1997 Ezra Peisach <epeisach@mit.edu>
* aclocal.m4 (KRB5_LIB_PARAMS): For the alpha, RUN_ENV needs to
#undef ANSI_STDIO
#undef HAS_SETVBUF
#undef HAS_STDLIB_H
-#undef HAS_STRDUP
-#undef HAS_LABS
#undef HAS_VOID_TYPE
#undef KRB5_NO_PROTOTYPES
#undef KRB5_PROVIDE_PROTOTYPES
#undef POSIX_TERMIOS
#undef POSIX_TYPES
#undef USE_DIRENT_H
-#undef USE_STRING_H
#undef WAIT_USES_INT
#undef krb5_sigtype
#undef HAS_UNISTD_H
+Thu Sep 18 17:52:26 1997 Tom Yu <tlyu@mit.edu>
+
+ * configure.in: Replace USE_STRING_H with something more sane.
+
+ * gss-server.c: Replace USE_STRING_H with something more sane.
+
Fri Jun 6 15:05:57 1997 Theodore Y. Ts'o <tytso@mit.edu>
* gss-server.c (server_establish_context): Rearrange server
AC_INIT(gss-client.c)
CONFIG_RULES
USE_ANAME
-AC_CHECK_HEADERS(unistd.h stdlib.h)
-AC_CHECK_HEADER(string.h,AC_DEFINE(USE_STRING_H))
+AC_CHECK_HEADERS(unistd.h stdlib.h string.h)
AC_CONST
AC_PROG_INSTALL
KRB5_BUILD_PROGRAM
#include <gssapi/gssapi_generic.h>
#include "gss-misc.h"
-#ifdef USE_STRING_H
+#ifdef HAVE_STRING_H
#include <string.h>
#else
#include <strings.h>
+Thu Sep 18 17:52:59 1997 Tom Yu <tlyu@mit.edu>
+
+ * win-mac.h: Replace USE_STRING_H with something more sane.
+
+ * k5-int.h: Replace USE_STRING_H, HAS_STRDUP, HAS_LABS with
+ something more sane.
+
Mon Sep 15 14:54:55 1997 Ezra Peisach <epeisach@mit.edu>
* krb5.hin: Add const to prototypes for krb5_cc_resolve,
#define INI_FILES "Files"
#define INI_KRB_CCACHE "krb5cc" /* Location of the ccache */
#define INI_KRB5_CONF "krb5.ini" /* Location of krb5.conf file */
-#define HAS_LABS
+#define HAVE_LABS
#endif
#define SIZEOF_SHORT 2
#define HAVE_SRAND
#define NO_PASSWORD
-#define HAS_LABS
+#define HAVE_LABS
#define ENOMEM -1
#define ANSI_STDIO
#ifndef _SIZET
#define O_BINARY 0
#endif
-#ifndef HAS_LABS
+#ifndef HAVE_LABS
#define labs(x) abs(x)
#endif
#endif /* ! __STDC__ */
#endif /* HAS_STDLIB_H */
-#ifdef USE_STRING_H
+#ifdef HAVE_STRING_H
#include <string.h>
#else
#include <strings.h>
#endif
-#ifndef HAS_STRDUP
+#ifndef HAVE_STRDUP
extern char *strdup KRB5_PROTOTYPE((const char *));
#endif
+Thu Sep 18 20:42:03 1997 Tom Yu <tlyu@mit.edu>
+
+ * configure.in: Replace USE_STRING_H, HAS_STRDUP, HAS_LABS
+
Mon Sep 15 15:01:49 1997 Ezra Peisach <epeisach@mit.edu>
* kdb_dbm.h: Add const to argument of krb5_dbm_db_get_principal.
AC_PROG_LEX
AC_PROG_INSTALL
HAVE_YYLINENO
-AC_FUNC_CHECK(strdup,AC_DEFINE(HAS_STRDUP))
-AC_FUNC_CHECK(labs,AC_DEFINE(HAS_LABS))
+AC_CHECK_FUNCS(strdup labs)
CHECK_DIRENT
CHECK_WAIT_TYPE
AC_TYPE_UID_T
dnl
dnl
-AC_HEADER_CHECK(string.h,AC_DEFINE(USE_STRING_H))
+AC_CHECK_HEADERS(string.h)
AC_HEADER_CHECK(stdlib.h,AC_DEFINE(HAS_STDLIB_H),AC_DEFINE(NO_STDLIB_H))
AC_CHECK_HEADERS(sys/types.h sys/file.h sys/param.h sys/stat.h macsock.h stddef.h xom.h dbm.h ndbm.h)
AC_HEADER_STDARG
#include <windows.h> /* always include this here, to get correct FAR and NEAR */
-#define HAS_LABS
+#define HAVE_LABS
#ifndef KRB5_CALLCONV
#ifdef _MSC_VER
#define KRB5_USE_INET
#define MSDOS_FILESYSTEM
-#define USE_STRING_H
+#define HAVE_STRING_H
#define HAVE_SRAND
#define HAVE_ERRNO
-#define HAS_STRDUP
+#define HAVE_STRDUP
#define NO_USERID
#define NO_PASSWORD
#define SIZEOF_SHORT 2
#define HAVE_SRAND
#define NO_PASSWORD
-#define HAS_LABS
+#define HAVE_LABS
#define ENOMEM -1
#define ANSI_STDIO
#ifndef _SIZET
+Thu Sep 18 17:54:10 1997 Tom Yu <tlyu@mit.edu>
+
+ * memmove.c: Replace USE_STRING_H with something more sane.
+
Fri Jul 25 15:45:24 1997 Tom Yu <tlyu@mit.edu>
* dump.c: Update to new kdb API.
#include <krb5/osconf.h>
#include <krb5/config.h>
-#ifdef USE_STRING_H
+#ifdef HAVE_STRING_H
#include <string.h>
#else
#include <strings.h>
+Thu Sep 18 17:54:40 1997 Tom Yu <tlyu@mit.edu>
+
+ * kpasswd.c: Replace USE_STRING_H with something more sane.
+
Thu Feb 6 00:28:54 1997 Richard Basch <basch@lehman.com>
* adm_conn.c adm_rw.c:
#include "adm_defs.h"
#include "adm.h"
-#ifdef USE_STRING_H
+#ifdef HAVE_STRING_H
#include <string.h>
-#else /* USE_STRING_H */
+#else /* HAVE_STRING_H */
#include <strings.h>
-#endif /* USE_STRING_H */
+#endif /* HAVE_STRING_H */
\f
/*
+Thu Sep 18 17:55:09 1997 Tom Yu <tlyu@mit.edu>
+
+ * acquire_cred.c: Replace USE_STRING_H with something more sane.
+
+ * import_name.c: Replace USE_STRING_H with something more sane.
+
Tue Jul 29 22:56:04 1997 Theodore Y. Ts'o <tytso@mit.edu>
* inq_names.c (krb5_gss_inquire_names_for_mech): Add the
*/
#include "gssapiP_krb5.h"
-#ifdef USE_STRING_H
+#ifdef HAVE_STRING_H
#include <string.h>
#else
#include <strings.h>
#include <pwd.h>
#endif
-#ifdef USE_STRING_H
+#ifdef HAVE_STRING_H
#include <string.h>
#else
#include <strings.h>
+Thu Sep 18 17:56:00 1997 Tom Yu <tlyu@mit.edu>
+
+ * hst_realm.c: Replace USE_STRING_H with something more sane.
+
Mon Sep 15 15:21:12 1997 Ezra Peisach <epeisach@mit.edu>
* ccdefname.c (krb5_cc_default_name): Returns a const char *.
#include "k5-int.h"
#include <ctype.h>
#include <stdio.h>
-#ifdef USE_STRING_H
+#ifdef HAVE_STRING_H
#include <string.h>
#else
#include <strings.h>
+Thu Sep 18 17:56:29 1997 Tom Yu <tlyu@mit.edu>
+
+ * strcasecmp.c: Replace USE_STRING_H with something more sane.
+
+ * memmove.c: Replace USE_STRING_H with something more sane.
+
Sat Feb 22 22:42:10 1997 Richard Basch <basch@lehman.com>
* Makefile.in: Use some of the new library list build rules in
#ifdef HAS_SYS_TYPES_H
#include <sys/types.h>
#endif
-#ifdef USE_STRING_H
+#ifdef HAVE_STRING_H
#include <string.h>
#else
#include <strings.h>
*/
#include "k5-int.h"
-#ifdef USE_STRING_H
+#ifdef HAVE_STRING_H
#include <string.h>
#else
#include <strings.h>
+Thu Sep 18 17:59:05 1997 Tom Yu <tlyu@mit.edu>
+
+ * autoconf.h: Replace USE_STRING_H with something more sane.
+
Tue Jul 15 12:36:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
* KerberosHeaders.h: Remove (probably unneeded) size_t definition.
#define ENOMEM -1
#define HAVE_SRAND
#define NO_PASSWORD
-#define HAS_LABS
+#define HAVE_LABS
#define ANSI_STDIO
#include <unix.h>
#define NO_YYLINENO 1
#define POSIX_TYPES 1
#define USE_DIRENT_H 1
-#define USE_STRING_H 1
+#define HAVE_STRING_H 1
#define WAIT_USES_INT 1
#define krb5_sigtype void
#define KRB5_USE_INET 1
+Thu Sep 18 20:44:03 1997 Tom Yu <tlyu@mit.edu>
+
+ * utils.c: Replace HAS_STRDUP with something more sane.
+
+ * configure.in: Replace HAS_STRDUP with something more sane.
+
Sun Aug 17 14:39:56 1997 Ezra Peisach <epeisach@mit.edu>
* Makefile.in (SRCS): Add $(srcdir) as needed.
AC_PROG_ARCHIVE_ADD
AC_PROG_RANLIB
HAVE_YYLINENO
-AC_FUNC_CHECK(strdup,AC_DEFINE(HAS_STRDUP))
+AC_CHECK_FUNCS(strdup)
CHECK_DIRENT
CHECK_WAIT_TYPE
CHECK_SIGNALS
return(result);
}
-#ifndef HAS_STRDUP
+#ifndef HAVE_STRDUP
/* make duplicate of string and return pointer */
char *strdup(s)
register char *s;