Commit 710ee5a9 authored by Rob Browning's avatar Rob Browning
Browse files

*** empty log message ***

parent b0e44248
2003-03-03 Rob Browning <rlb@defaultvalue.org>
* configure.in: add AC_CHECK_FUNCS for memcmp and memmove.
(AH_BOTTOM): switch tests to prefer memcmp, memset, and memmove
over bzero, bcmp, and bcopy.
2003-02-23 Simon Josefsson <jas@extundo.com> 2003-02-23 Simon Josefsson <jas@extundo.com>
* Makefile.in (install-arch-indep, uninstall): Add SMTP manual. * Makefile.in (install-arch-indep, uninstall): Add SMTP manual.
......
...@@ -343,6 +343,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -343,6 +343,9 @@ Boston, MA 02111-1307, USA. */
/* Define to 1 if you have the `mbsinit' function. */ /* Define to 1 if you have the `mbsinit' function. */
#undef HAVE_MBSINIT #undef HAVE_MBSINIT
/* Define to 1 if you have the `memcmp' function. */
#undef HAVE_MEMCMP
/* Define to 1 if you have the `memmove' function. */ /* Define to 1 if you have the `memmove' function. */
#undef HAVE_MEMMOVE #undef HAVE_MEMMOVE
...@@ -1010,14 +1013,16 @@ typedef unsigned size_t; ...@@ -1010,14 +1013,16 @@ typedef unsigned size_t;
# endif # endif
#endif #endif
#ifndef HAVE_BCOPY /* avoid deprecated functions */
#define bcopy(a,b,s) memcpy (b,a,s) #if HAVE_MEMCPY
# define bcopy(a,b,s) memcpy (b,a,s)
#endif #endif
#ifndef HAVE_BZERO #if HAVE_MEMSET
#define bzero(a,s) memset (a,0,s) # define bzero(a,s) memset (a,0,s)
#endif #endif
#ifndef HAVE_BCMP #if HAVE_MEMCMP
#define BCMP memcmp # define BCMP memcmp
# define bcmp memcmp
#endif #endif
#endif /* EMACS_CONFIG_H */ #endif /* EMACS_CONFIG_H */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment