From 8e08af9e7f4ebbb06ebf5280b2be4d33c9d55b6e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 21 May 2011 15:18:46 +0200 Subject: memmem*: Move AC_LIBOBJ invocations to module description. * m4/memmem.m4 (gl_FUNC_MEMMEM_SIMPLE): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Set HAVE_MEMMEM. Move AC_LIBOBJ invocations from here... (gl_FUNC_MEMMEM): ... and here... * modules/memmem-simple (configure.ac): ... to here. * modules/memmem (configure.ac): ... and here. --- modules/memmem-simple | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/memmem-simple') diff --git a/modules/memmem-simple b/modules/memmem-simple index c84755d647..d4ae332a26 100644 --- a/modules/memmem-simple +++ b/modules/memmem-simple @@ -15,6 +15,9 @@ memcmp configure.ac: gl_FUNC_MEMMEM_SIMPLE +if test $HAVE_MEMMEM = 0 || test $REPLACE_MEMMEM = 1; then + AC_LIBOBJ([memmem]) +fi gl_STRING_MODULE_INDICATOR([memmem]) Makefile.am: -- cgit v1.2.1