summaryrefslogtreecommitdiff
path: root/modules/memmem-simple
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-21 15:18:46 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:06:29 +0200
commit8e08af9e7f4ebbb06ebf5280b2be4d33c9d55b6e (patch)
treec76ec5ca4cb3a34c3db0b8665a986ef01076b99e /modules/memmem-simple
parentbeb9fe0c8dd1b29b1f8ae3429dc1229c39ef5cbc (diff)
downloadgnulib-8e08af9e7f4ebbb06ebf5280b2be4d33c9d55b6e.tar.gz
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.
Diffstat (limited to 'modules/memmem-simple')
-rw-r--r--modules/memmem-simple3
1 files changed, 3 insertions, 0 deletions
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: