Kaydet (Commit) b1d1c422 authored tarafından Benjamin Peterson's avatar Benjamin Peterson Kaydeden (comit) GitHub

remove configure check for memmove (#3716)

Python requires C implementations provide memmove, so we shouldn't need to check for it. The only place using this configure check was expat, where we can simply always define HAVE_MEMMOVE.
üst 5b9299d8
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
#define BYTEORDER 1234 #define BYTEORDER 1234
#endif #endif
#define HAVE_MEMMOVE 1
#define XML_NS 1 #define XML_NS 1
#define XML_DTD 1 #define XML_DTD 1
#define XML_CONTEXT_BYTES 1024 #define XML_CONTEXT_BYTES 1024
......
...@@ -12253,19 +12253,6 @@ fi ...@@ -12253,19 +12253,6 @@ fi
done done
# Stuff for expat.
for ac_func in memmove
do :
ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
if test "x$ac_cv_func_memmove" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_MEMMOVE 1
_ACEOF
fi
done
# check for long file support functions # check for long file support functions
for ac_func in fseek64 fseeko fstatvfs ftell64 ftello statvfs for ac_func in fseek64 fseeko fstatvfs ftell64 ftello statvfs
do : do :
......
...@@ -3684,9 +3684,6 @@ AC_CHECK_FUNCS(forkpty,, ...@@ -3684,9 +3684,6 @@ AC_CHECK_FUNCS(forkpty,,
) )
) )
# Stuff for expat.
AC_CHECK_FUNCS(memmove)
# check for long file support functions # check for long file support functions
AC_CHECK_FUNCS(fseek64 fseeko fstatvfs ftell64 ftello statvfs) AC_CHECK_FUNCS(fseek64 fseeko fstatvfs ftell64 ftello statvfs)
......
...@@ -601,9 +601,6 @@ ...@@ -601,9 +601,6 @@
/* Define to 1 if you have the `mbrtowc' function. */ /* Define to 1 if you have the `mbrtowc' function. */
#undef HAVE_MBRTOWC #undef HAVE_MBRTOWC
/* Define to 1 if you have the `memmove' function. */
#undef HAVE_MEMMOVE
/* Define to 1 if you have the <memory.h> header file. */ /* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H #undef HAVE_MEMORY_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