hash.h: if we don't HAVE_MEMMOVE use bcopy.
Really, though, a quick glance seems to indicate that most of the uses
of memmove could really be handled by memcpy, but I haven't time to prove
it right now. If I'm right, back out this check. (This is for sunos 4 which
has memcpy but not memmove.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6181
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Jun 28 00:18:16 1995 Mark Eichin <eichin@cygnus.com>
+
+ * configure.in: use AC_CHECK_FUNCS and check for memmove.
+ hash.h: if we don't HAVE_MEMMOVE use bcopy.
+
Tue Jun 27 20:50:57 1995 Mark Eichin <eichin@cygnus.com>
* configure.in: *int*_t are likely to collide with native types,
AC_MSG_RESULT($ac_cv_sizeof_dbt_size)
AC_DEFINE_UNQUOTED(SIZEOF_DBT_SIZE, $ac_cv_sizeof_dbt_size)
-AC_HAVE_FUNCS(mktemp mkstemp)
+AC_CHECK_FUNCS(mktemp mkstemp memmove)
CHECK_SIGNALS
dnl
dnl Check for sys/cdefs.h.
#define MAGIC hdr.magic
#define NEXT_FREE hdr.next_free
#define H_CHARKEY hdr.h_charkey
+
+#ifndef HAVE_MEMMOVE
+#define memmove(dst,src,len) bcopy(src,dst,len)
+#endif