Add memmove to autoconf tests.

git-svn-id: svn://10.0.0.236/trunk@48160 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
slamm%netscape.com
1999-09-18 02:55:39 +00:00
parent 33e0e6c490
commit cee8b771f1
2 changed files with 5 additions and 2 deletions

View File

@@ -1783,7 +1783,7 @@ dnl Checks for library functions.
dnl ========================================================
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MEMCMP
AC_CHECK_FUNCS(random qsort strerror lchown fchmod snprintf localtime_r statvfs)
AC_CHECK_FUNCS(random qsort strerror lchown fchmod snprintf localtime_r statvfs memmove)
AC_MSG_CHECKING(how to call gettimeofday)
AC_CACHE_VAL(ac_cv_gettimeofday_args,

View File

@@ -34,13 +34,16 @@ CSRCS = \
hash.c \
hash_buf.c \
hsearch.c \
memmove.c \
mktemp.c \
ndbm.c \
strerror.c \
nsres.c \
$(NULL)
ifeq (,$(filter -DHAVE_MEMMOVE=1,$(DEFS)))
CSRC += memmove.c
endif
ifeq (,$(filter -DHAVE_SNPRINTF=1,$(DEFS)))
CSRC += snprintf.c
endif