Merge commit 'a39d4083cab589d7cd6a13e8a4b8db8875261d75'
[gnulib.git] / m4 / memcpy.m4
index 7056f5e..c5e0913 100644 (file)
@@ -1,15 +1,12 @@
-# memcpy.m4 serial 3
-dnl Copyright (C) 2002, 2009 Free Software Foundation, Inc.
+# memcpy.m4 serial 4
+dnl Copyright (C) 2002, 2009-2014 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_FUNC_MEMCPY],
 [
-  AC_REPLACE_FUNCS([memcpy])
-  if test $ac_cv_func_memcpy = no; then
-    gl_PREREQ_MEMCPY
-  fi
+  AC_CHECK_FUNCS([memcpy])
 ])
 
 # Prerequisites of lib/memcpy.c.