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:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user