* configure.in: use AC_CHECK_FUNCS for index, and check for memmove.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6180
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Jun 28 00:19:52 1995 Mark Eichin <eichin@cygnus.com>
+
+ * dbtest.c (xmalloc): use memcpy, memmove isn't needed.
+
+Wed Jun 28 00:17:44 1995 Mark Eichin <eichin@cygnus.com>
+
+ * configure.in: use AC_CHECK_FUNCS for index, and check for memmove.
+
Wed Jun 28 00:04:07 1995 Mark Eichin <eichin@cygnus.com>
* run.test: look in /usr/share/lib/dict/words to find the words
CDEFS_INCLUDE=['-I$(PORTDIR)']
AC_HAVE_HEADERS(sys/cdefs.h, CDEFS_INCLUDE=)
AC_SUBST(CDEFS_INCLUDE)
-AC_FUNC_CHECK(index,AC_DEFINE(HAVE_INDEX))
+AC_CHECK_FUNCS(index memmove)
V5_AC_OUTPUT_MAKEFILE
if ((p = (void *)malloc(len)) == NULL)
err("%s", strerror(errno));
- memmove(p, text, len);
+ memcpy(p, text, len);
return (p);
}