NEWS.stable: log cherry-pick [a0d9972]->[21d1619] freopen: Don't crash if the filenam...
[gnulib.git] / m4 / memcpy.m4
index 62921d4..9085f44 100644 (file)
@@ -1,4 +1,4 @@
-# memcpy.m4 serial 3
+# memcpy.m4 serial 4
 dnl Copyright (C) 2002, 2009-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -6,10 +6,7 @@ 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.