* m4/memrchr.m4 (gl_FUNC_MEMRCHR): Call AC_CHECK_FUNCS instead of
AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMRCHR invocations from
here...
* modules/memrchr (configure.ac): ... to here.
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
+ memrchr: Move AC_LIBOBJ invocations to module description.
+ * m4/memrchr.m4 (gl_FUNC_MEMRCHR): Call AC_CHECK_FUNCS instead of
+ AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMRCHR invocations from
+ here...
+ * modules/memrchr (configure.ac): ... to here.
+
2011-05-21 Bruno Haible <bruno@clisp.org>
mempcpy: Move AC_LIBOBJ invocations to module description.
-# memrchr.m4 serial 9
+# memrchr.m4 serial 10
dnl Copyright (C) 2002-2003, 2005-2007, 2009-2011 Free Software Foundation,
dnl Inc.
dnl This file is free software; the Free Software Foundation
HAVE_DECL_MEMRCHR=0
fi
- AC_REPLACE_FUNCS([memrchr])
- if test $ac_cv_func_memrchr = no; then
- gl_PREREQ_MEMRCHR
- fi
+ AC_CHECK_FUNCS([memrchr])
])
# Prerequisites of lib/memrchr.c.
configure.ac:
gl_FUNC_MEMRCHR
+if test $ac_cv_func_memrchr = no; then
+ AC_LIBOBJ([memrchr])
+ gl_PREREQ_MEMRCHR
+fi
gl_STRING_MODULE_INDICATOR([memrchr])
Makefile.am: