diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-21 15:23:42 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-16 00:06:30 +0200 |
commit | 828b890695a732a5cb32856b77e9906fac231a02 (patch) | |
tree | fb87e899cf7add966f17381065821c8960ef7c1a /m4/mempcpy.m4 | |
parent | d5df3358bd3ae257b342d03796dbd02e24638cf2 (diff) | |
download | gnulib-828b890695a732a5cb32856b77e9906fac231a02.tar.gz |
mempcpy: Move AC_LIBOBJ invocations to module description.
* m4/mempcpy.m4 (gl_FUNC_MEMPCPY): Call AC_CHECK_FUNCS instead of
AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMPCPY invocations from
here...
* modules/mempcpy (configure.ac): ... to here.
Diffstat (limited to 'm4/mempcpy.m4')
-rw-r--r-- | m4/mempcpy.m4 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/m4/mempcpy.m4 b/m4/mempcpy.m4 index cc36900a1f..7214a4b39a 100644 --- a/m4/mempcpy.m4 +++ b/m4/mempcpy.m4 @@ -1,4 +1,4 @@ -# mempcpy.m4 serial 10 +# mempcpy.m4 serial 11 dnl Copyright (C) 2003-2004, 2006-2007, 2009-2011 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation @@ -14,10 +14,9 @@ AC_DEFUN([gl_FUNC_MEMPCPY], AC_REQUIRE([AC_C_RESTRICT]) AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) - AC_REPLACE_FUNCS([mempcpy]) + AC_CHECK_FUNCS([mempcpy]) if test $ac_cv_func_mempcpy = no; then HAVE_MEMPCPY=0 - gl_PREREQ_MEMPCPY fi ]) |